<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Also while I'm mucking about with content checks, I have another
question.  I added two content checks:<br>
<br>
1.2.3.4    web-8  # ssh pulldata TRENDS:*,disk:disk|disk1
cont=http;<a class="moz-txt-link-freetext" href="http://prodsite.foo.com/monitor.php;SUCCESS">http://prodsite.foo.com/monitor.php;SUCCESS</a>
cont=http;<a class="moz-txt-link-freetext" href="http://prodsite2.foo.com/amialiveornot.php;SUCCESS">http://prodsite2.foo.com/amialiveornot.php;SUCCESS</a><br>
<br>
When I check the http status, I see the first content check only. :<br>
<h3> Wed Aug 9 23:55:58 2006: Content OK</h3>
<pre><a class="moz-txt-link-freetext" href="http://prodsite.foo.com/monitor.php">http://prodsite.foo.com/monitor.php</a> - Testing <a
 href="http://aqmt-prod.cisco.com/monitor.php">URL</a> yields:
SUCCESS
</pre>
<br>
However, when I go to the "info" column, it shows that both URLs are
being checked:<br>
<br>
Checked with ping:Yes<br>
Content checks: <a href="http://aqmt-prod.cisco.com/monitor.php">http://prodsite.foo.com/monitor.php</a> 
must return 'SUCCESS'<br>
                            
<a href="http://reports-prod.cisco.com/amialiveornot.php">http://prodsite2.foo.com/amialiveornot.php</a> 
must return 'SUCCESS'<br>
<br>
How do I get both content checks to display in the http status area?<br>
If this is not possible, will alerts still be sent if either content
check fails?<br>
<br>
-Charles<br>
<br>
Charles Jones wrote:
<blockquote cite="mid44DA728E.6090401@cisco.com" type="cite">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.
  <br>
  <br>
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.
  <br>
  <br>
I'm open to any other suggestions or comments.
  <br>
  <br>
-Charles
  <br>
  <br>
Charles Jones wrote:
  <br>
  <blockquote type="cite">Is it possible to have the results of the
HTTP test as well as the CONT test both displayed in the http status
area?
    <br>
In other words, "cont=http;<a class="moz-txt-link-freetext" href="http://www.foo.com/blah/;SUCCESS">http://www.foo.com/blah/;SUCCESS</a>"
    <br>
    <br>
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
:-)
    <br>
  </blockquote>
</blockquote>
<br>
</body>
</html>