Hi Henrik,
- I want to have multiple http test for the same host. We have so many web servers running on the same host. Here we can't differentiate those processses by some unique pattern (otehrwise 'procs' would be helpful). So I need to do multiple http test all having different service name, so that my group of people got the mail of the service which fails individually. so that I used following in the bb-hosts file.
group-only files|http1|http11 OTHER BOXES
1.2.3.4 xyz # cont=http1;http://xyz.com:8080/index.html;First cont=http11;http://xyz.com:1016;busy
In hobbit-alerts.cfg :
HOST=%*.xyz.com MAIL abc at xyz.com SERVICE=%http* COLOR=red DURATION>1 RECOVERED
Now, all went fine if both the sites are up. but problem starts when one of the sites went down. In that case I got the "No output received from server" on the hobbit web page after clicking on that service & it went white. I need it to be red, so that I can set alert for the same. Here I am using iPlanet as web server & Jboss as application server. 1016 is the port where jboss listens. My concern is why the test become white instead of red, if it didn't find the page only? Manually by typing the URL in IE it gives "page can't be displayed" If I use http test (without cont=) then it went red. I understand that might be hobbit tried to find out the contents on the web page. ( am i right?) but then as i mentioned earlier I might not be able to set seperate http test. please suggest the work around.
- Another thing I want to mention that initially I made two tests - http1 & http11. When I removed cont=http1;http://xyz.com:8080/index.html;First from bb-hosts file and replaced http11 with http1 then old data is not refreshed! I restarted hobbit server also. but the old data remains on the web page and can't be refreshed(even time is also showing the last successful refreshed on the web page). Actually now on web page i should able to see the result of - http://xyz.com:1016 for http1 test as i removed old http1 test & replaced it with http11 test. But still I am able to see result of - http://xyz.com:8080/index.html. Even though I already removed it from the bb-hosts file. can we call it as bug? Or please suggest me, if I am missing something.
Thanks & Regards, Haresh Shah DC*318-0438
On Tue, Dec 11, 2007 at 02:15:01AM -0500, Shah, Haresh K (GE, Corporate, consultant) wrote:
1.2.3.4 xyz # cont=http1;http://xyz.com:8080/index.html;First cont=http11;http://xyz.com:1016;busy
Now, all went fine if both the sites are up. but problem starts when one of the sites went down. In that case I got the "No output received from server" on the hobbit web page after clicking on that service & it went white. I need it to be red
Add a "~" in front of the "cont" tag, this will cause the content checks to go red when http itself fails.
My concern is why the test become white instead of red, if it didn't find the page only?
Because Hobbit tries not to generate too many alerts. If the webserver itself is down, you may not want to alert all of the application responsible people - you just want your junior sysadmin to restart Apache.
- Another thing I want to mention that initially I made two tests - http1 & http11. When I removed cont=http1;http://xyz.com:8080/index.html;First from bb-hosts file and replaced http11 with http1 then old data is not refreshed!
In other words, you have a "http1" column which is now purple. See http://www.hswn.dk/hobbit/help/hobbit-tips.html#droptest
Henrik
participants (2)
-
haresh.k.shah@ge.com
-
henrik@hswn.dk