The way I read it what Haresh wants, is this correct?<br><br><div><span class="gmail_quote">On 12/12/07, <b class="gmail_sendername">Klomp, H.</b> <<a href="mailto:klomph@nlr.nl">klomph@nlr.nl</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What I did to monitor a host with multiple web servers (where all the web servers have there own IP address) is to put a subpage with all the hostnames and doing a http check for these hosts.<br><br>An other possibility is to test multiple webpages at one http test and have that test display the different hosts. In the bb-hosts file you have a line like
<br><a href="http://0.0.0.0">0.0.0.0</a> server  #  <a href="http://servicedesk">http://servicedesk</a> <a href="http://ictdesk">http://ictdesk</a> <a href="http://solve">http://solve</a><br>Which will display at the http test as
<br><br> <a href="http://solve/">http://solve/</a> - OK<br><br>HTTP/1.1 301 Moved Permanently<br>Connection: close<br>Date: Wed, 12 Dec 2007 14:36:52 GMT<br>Server: Microsoft-IIS/6.0<br>Pragma: no-cache<br>Cache-Control: no-cache
<br>Content-Type: text/html<br>Content-Length: 149<br>Location: <a href="http://servicedesk/solve/">http://servicedesk/solve/</a><br><br>Seconds:     0.01<br><br><br> <a href="http://ictdesk/">http://ictdesk/</a> - OK<br>
<br>HTTP/1.1 200 OK<br>Connection: close<br>Date: Wed, 12 Dec 2007 14:36:52 GMT<br>Server: Microsoft-IIS/6.0<br>X-Powered-By: <a href="http://ASP.NET">ASP.NET</a><br>Content-type: text/html<br>X-Powered-By: PHP/4.3.10<br>
Set-Cookie: Servicedesk=8c36a42c0015fcf245ade794716ebafe; path=/<br>Expires: Mon, 26 Jul 1997 05:00:00 GMT<br>Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT<br>Cache-Control: private<br>Pragma: no-cache<br><br>Seconds:     
1.86<br><br><br> <a href="http://servicedesk/">http://servicedesk/</a> - OK<br><br>HTTP/1.1 200 OK<br>Connection: close<br>Date: Wed, 12 Dec 2007 14:36:52 GMT<br>Server: Microsoft-IIS/6.0<br>X-Powered-By: <a href="http://ASP.NET">
ASP.NET</a><br>Content-type: text/html<br>X-Powered-By: PHP/4.3.10<br>Set-Cookie: Servicedesk=33cf5ec988cd81170f90f15835fb1524; path=/<br>Expires: Mon, 26 Jul 1997 05:00:00 GMT<br>Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT
<br>Cache-Control: private<br>Pragma: no-cache<br><br>Seconds:     0.99<br><br><br>Regards,<br><br>Bert Klomp<br><br><br>-----Original Message-----<br>From: <a href="mailto:s_aiello@comcast.net">s_aiello@comcast.net</a> [mailto:
<a href="mailto:s_aiello@comcast.net">s_aiello@comcast.net</a>]<br>Sent: woensdag 12 december 2007 15:14<br>To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>Subject: Re: [hobbit] RE: multiple http test<br><br>On Tuesday 11 December 2007, Shah, Haresh K (GE, Corporate, consultant) wrote:
<br>> can anyone please help me on this?<br>><br>> ~ Haresh<br>> ________________________________<br>><br>> From: Shah, Haresh K (GE, Corporate, consultant)<br>> Sent: Tuesday, December 11, 2007 12:45 PM
<br>> To: '<a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a>'<br>> Subject: multiple http test<br>><br>><br>>  Hi Henrik,<br>><br>> 1) I want to have multiple http test for the same host. We have so many
<br>> web servers running on the same host. Here we can't differentiate those<br>> processses by some unique pattern (otehrwise 'procs' would be helpful).<br>> So I need to do multiple http test all having different service name, so
<br>> that my group of people got the mail of the service which fails<br>> individually. so that I used following in the bb-hosts file.<br>><br>> group-only files|http1|http11       OTHER BOXES<br>><br>> 
<a href="http://1.2.3.4">1.2.3.4</a>  xyz  # cont=http1;http://xyz.com:8080/index.html;First<br>> cont=http11;http://xyz.com:1016;busy<br>><br>> In hobbit-alerts.cfg :<br>><br>> HOST=%*.xyz.com<br>>         MAIL 
<a href="mailto:abc@xyz.com">abc@xyz.com</a> SERVICE=%http* COLOR=red DURATION>1 RECOVERED<br>><br>> Now, all went fine if both the sites are up. but problem starts when one<br>> of the sites went down. In that case I got the "No output received from
<br>> server" on the hobbit web page after clicking on that service & it went<br>> white. I need it to be red, so that I can set alert for the same. Here I<br>> am using iPlanet as web server & Jboss as application server. 1016 is
<br>> the port where jboss listens.<br>> My concern is why the test become white instead of red, if it didn't<br>> find the page only? Manually by typing the URL in IE it gives "page<br>> can't be displayed"
<br>> If I use http test (without cont=) then it went red. I understand that<br>> might be hobbit tried to find out the contents on the web page. ( am i<br>> right?) but then as i mentioned earlier I might not be able to set
<br>> seperate http test. please suggest the work around.<br>><br>> 2) Another thing I want to mention that initially I made two tests -<br>> http1 & http11. When I removed<br>> cont=http1;http://xyz.com:8080/index.html;First  from bb-hosts file and
<br>> replaced http11 with http1 then old data is not refreshed! I restarted<br>> hobbit server also. but the old data remains on the web page and can't<br>> be refreshed(even time is also showing the last successful refreshed on
<br>> the web page). Actually now on web page i should able to see the result<br>> of - <a href="http://xyz.com:1016">http://xyz.com:1016</a> for http1 test as i removed old http1 test &<br>> replaced it with http11 test. But still I am able to see result of -
<br>> <a href="http://xyz.com:8080/index.html">http://xyz.com:8080/index.html</a>. Even though I already removed it from<br>> the bb-hosts file.<br>> can we call it as bug? Or please suggest me, if I am missing something.
<br>><br>> ~ Haresh<br><br>With cont tests, if the http query is unable to be made, then the http test<br>will be red & the cont test will be clear. So your description of the<br>situation is the way that Hobbit works.
<br><br>I also have servers that run 10+ apache instances, and it is difficult to<br>monitor all http URLs. What I did was create a monitoring device for each<br>apache instance. So I keep server level tests with the server device & all
<br>apache tests with the apache device entries.<br><br> ~Steve<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>
Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>--- Henry Spencer