[hobbit] content tests
Charles Jones
jonescr at cisco.com
Thu Aug 10 02:02:40 CEST 2006
Also while I'm mucking about with content checks, I have another
question. I added two content checks:
1.2.3.4 web-8 # ssh pulldata TRENDS:*,disk:disk|disk1
cont=http;http://prodsite.foo.com/monitor.php;SUCCESS
cont=http;http://prodsite2.foo.com/amialiveornot.php;SUCCESS
When I check the http status, I see the first content check only. :
Wed Aug 9 23:55:58 2006: Content OK
http://prodsite.foo.com/monitor.php - Testing URL <http://aqmt-prod.cisco.com/monitor.php> yields:
SUCCESS
However, when I go to the "info" column, it shows that both URLs are
being checked:
Checked with ping:Yes
Content checks: http://prodsite.foo.com/monitor.php
<http://aqmt-prod.cisco.com/monitor.php> must return 'SUCCESS'
http://prodsite2.foo.com/amialiveornot.php
<http://reports-prod.cisco.com/amialiveornot.php> must return 'SUCCESS'
How do I get both content checks to display in the http status area?
If this is not possible, will alerts still be sent if either content
check fails?
-Charles
Charles Jones wrote:
> FYI Just for fun I gave it a try (specifying the column name as
> "http"), and it appears to work - rather I get the content check in
> the http column, but the "normal" http status that shows the header
> and whatnot isn't there, so I'm guessing that hobbit just displays the
> last status type it received for that column.
>
> Since the content check will still turn red and trigger an alert if
> http itself goes down, this may be all that I need. The only problem I
> could foresee is maybe someone could click the http status in between
> the times that the normal status is reported, and the content status
> is reported, so they would get just the normal status...due to the
> timing of that I doubt it would ever happen so I'm not too worried.
>
> I'm open to any other suggestions or comments.
>
> -Charles
>
> Charles Jones wrote:
>> Is it possible to have the results of the HTTP test as well as the
>> CONT test both displayed in the http status area?
>> In other words, "cont=http;http://www.foo.com/blah/;SUCCESS"
>>
>> I'm not suggesting that the default be that way, I can think of many
>> cases where it would be desirable to have a separate "http" and
>> "content" columns. I'm just trying to have as few columns as possible
>> :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060809/456e8efb/attachment.html>
More information about the Xymon
mailing list