[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] content tests
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] content tests
- From: Charles Jones <jonescr (at) cisco.com>
- Date: Wed, 09 Aug 2006 17:02:40 -0700
- Authentication-results: sj-dkim-4.cisco.com; header.From=jonescr@cisco.com; dkim=pass ( 60 extraneous bytes; sig from cisco.com verified; );
- Dkim-signature: a=rsa-sha1; q=dns; l=6058; t=1155168161; x=1156032161; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jonescr@cisco.com; z=From:Charles=20Jones=20<jonescr@cisco.com> |Subject:Re=3A=20[hobbit]=20content=20tests; X=v=3Dcisco.com=3B=20h=3D0T/oPFXIdt/kL0T0LaxUqLaKMss=3D; b=gmaOI6MbP3rnNrzcTybOrGkbBAAQ9OC81C5PYH9L9XM0ZxKGPaEPVs+iHEpqPmLZuuQvJCs8 OY1XQTEZT9A22mx5CoaZgk64hZ3GhrWCU7mBE2GRRxVWndn3kJSMbkAf;
- Organization: Cisco Systems
- References: <44DA6C14.2060908@cisco.com> <44DA728E.6090401@cisco.com>
- User-agent: Thunderbird 1.5.0.4 (X11/20060614)
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
:-)