multiple http test
list Haresh Shah
Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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
list Haresh Shah
Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ Haresh
list Haresh Shah
can anyone please help me on this? ~ Haresh
▸
From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ Haresh
list S Aiello
▸
On Tuesday 11 December 2007, Shah, Haresh K (GE, Corporate, consultant) wrote:
can anyone please help me on this? ~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ Haresh
With cont tests, if the http query is unable to be made, then the http test will be red & the cont test will be clear. So your description of the situation is the way that Hobbit works. I also have servers that run 10+ apache instances, and it is difficult to monitor all http URLs. What I did was create a monitoring device for each apache instance. So I keep server level tests with the server device & all apache tests with the apache device entries. ~Steve
list Josh Luthman
Steve, Could you do us a huge favor and share your bb-hosts config for what you explained? Josh
▸
On 12/12/07, user-ce96540ed38f@xymon.invalid <user-ce96540ed38f@xymon.invalid> wrote:On Tuesday 11 December 2007, Shah, Haresh K (GE, Corporate, consultant) wrote:can anyone please help me on this? ~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ HareshWith cont tests, if the http query is unable to be made, then the http test will be red & the cont test will be clear. So your description of the situation is the way that Hobbit works. I also have servers that run 10+ apache instances, and it is difficult to monitor all http URLs. What I did was create a monitoring device for each apache instance. So I keep server level tests with the server device & all apache tests with the apache device entries. ~Steve
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list H. Klomp
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. 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 0.0.0.0 server # http://servicedesk http://ictdesk http://solve Which will display at the http test as http://solve/ - OK HTTP/1.1 301 Moved Permanently Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 Pragma: no-cache Cache-Control: no-cache Content-Type: text/html Content-Length: 149 Location: http://servicedesk/solve/ Seconds: 0.01 http://ictdesk/ - OK HTTP/1.1 200 OK Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-type: text/html X-Powered-By: PHP/4.3.10 Set-Cookie: Servicedesk=8c36a42c0015fcf245ade794716ebafe; path=/ Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT Cache-Control: private Pragma: no-cache Seconds: 1.86 http://servicedesk/ - OK HTTP/1.1 200 OK Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-type: text/html X-Powered-By: PHP/4.3.10 Set-Cookie: Servicedesk=33cf5ec988cd81170f90f15835fb1524; path=/ Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT Cache-Control: private Pragma: no-cache Seconds: 0.99 Regards, Bert Klomp
▸
-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid]
Sent: woensdag 12 december 2007 15:14
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: multiple http test
On Tuesday 11 December 2007, Shah, Haresh K (GE, Corporate, consultant) wrote:can anyone please help me on this? ~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ Haresh
With cont tests, if the http query is unable to be made, then the http test will be red & the cont test will be clear. So your description of the situation is the way that Hobbit works. I also have servers that run 10+ apache instances, and it is difficult to monitor all http URLs. What I did was create a monitoring device for each apache instance. So I keep server level tests with the server device & all apache tests with the apache device entries. ~Steve
list Josh Luthman
The way I read it what Haresh wants, is this correct?
▸
On 12/12/07, Klomp, H. <user-b644cde19b47@xymon.invalid> wrote: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. 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 0.0.0.0 server # http://servicedesk http://ictdesk http://solve Which will display at the http test as http://solve/ - OK HTTP/1.1 301 Moved Permanently Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 Pragma: no-cache Cache-Control: no-cache Content-Type: text/html Content-Length: 149 Location: http://servicedesk/solve/ Seconds: 0.01 http://ictdesk/ - OK HTTP/1.1 200 OK Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-type: text/html X-Powered-By: PHP/4.3.10 Set-Cookie: Servicedesk=8c36a42c0015fcf245ade794716ebafe; path=/ Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT Cache-Control: private Pragma: no-cache Seconds: 1.86 http://servicedesk/ - OK HTTP/1.1 200 OK Connection: close Date: Wed, 12 Dec 2007 14:36:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-type: text/html X-Powered-By: PHP/4.3.10 Set-Cookie: Servicedesk=33cf5ec988cd81170f90f15835fb1524; path=/ Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 12 Dec 2007 14:36:52 GMT Cache-Control: private Pragma: no-cache Seconds: 0.99 Regards, Bert Klomp -----Original Message----- From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid] Sent: woensdag 12 december 2007 15:14 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] RE: multiple http test On Tuesday 11 December 2007, Shah, Haresh K (GE, Corporate, consultant) wrote:can anyone please help me on this? ~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ HareshWith cont tests, if the http query is unable to be made, then the http test will be red & the cont test will be clear. So your description of the situation is the way that Hobbit works. I also have servers that run 10+ apache instances, and it is difficult to monitor all http URLs. What I did was create a monitoring device for each apache instance. So I keep server level tests with the server device & all apache tests with the apache device entries. ~Steve
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list S Aiello
▸
On Wednesday 12 December 2007, Josh Luthman wrote:
Steve, Could you do us a huge favor and share your bb-hosts config for what you explained? Josh
Well I can explain what I do.. my situation is a bit complex.. so i will try to filter out, and provide a simple explanation. bb-host entries: group-compress Server 1.3.5.7 webA01 # 2.4.6.8 webA02 # group-compress Apache Web Instances 0.0.0.0 webInstA01 # noconn http://vhost1.domain.com=1.3.5.8/status/status.htm http://vhost2.domain.com=1.3.5.9/status/status.htm https://vhost3.domain.com=1.3.5.10/status/status.htm 0.0.0.0 webInstB01 # noconn http://vhost4.domain.com=1.3.5.11/status/status.htm 0.0.0.0 webInstA02 # noconn http://vhost1.domain.com=2.4.6.9/status/status.htm http://vhost2.domain.com=2.4.6.10/status/status.htm https://vhost3.domain.com=2.4.6.11/status/status.htm 0.0.0.0 webInstB02 # noconn http://vhost41.domain.com=2.4.6.12/status/status.htm In my case I have each vhost loadbalanced over 2 web servers. So vhost1-4 are configured to run on webA01 & webA02. vhost1-3 are configured in one apache instance and vhost4 has a dedicated apache instance. ~Steve
list Lee Garner
This relates so something that I've observed. There's probably a configuration fix for it that I haven't noticed yet. On a server with a content check, I find that if the http response is ok as indicated by the "http" test, but the content check fails due to a server timeout, the content check does go clear but seems to propagate up as green. Perhaps it's just the timing of the page creation, but I know that I once received a "recovery" alert telling me that the content check was clear. Obviously, this isn't what I had in mind when I set up the check. Thanks. Lee.
▸
On 12/12/07, user-ce96540ed38f@xymon.invalid <user-ce96540ed38f@xymon.invalid> wrote:With cont tests, if the http query is unable to be made, then the http test will be red & the cont test will be clear. So your description of the situation is the way that Hobbit works.
list Josh Luthman
That's the same way Bert has it up there. Though anyone reading in the future be warned - those HTTP URLs are after the noconn, there are no breaks!
▸
On 12/12/07, user-ce96540ed38f@xymon.invalid <user-ce96540ed38f@xymon.invalid> wrote:On Wednesday 12 December 2007, Josh Luthman wrote:Steve, Could you do us a huge favor and share your bb-hosts config for what you explained? JoshWell I can explain what I do.. my situation is a bit complex.. so i will try to filter out, and provide a simple explanation. bb-host entries: group-compress Server 1.3.5.7 webA01 # 2.4.6.8 webA02 # group-compress Apache Web Instances 0.0.0.0 webInstA01 # noconn http://vhost1.domain.com=1.3.5.8/status/status.htm http://vhost2.domain.com=1.3.5.9/status/status.htm https://vhost3.domain.com=1.3.5.10/status/status.htm 0.0.0.0 webInstB01 # noconn http://vhost4.domain.com=1.3.5.11/status/status.htm 0.0.0.0 webInstA02 # noconn http://vhost1.domain.com=2.4.6.9/status/status.htm http://vhost2.domain.com=2.4.6.10/status/status.htm https://vhost3.domain.com=2.4.6.11/status/status.htm 0.0.0.0 webInstB02 # noconn http://vhost41.domain.com=2.4.6.12/status/status.htm In my case I have each vhost loadbalanced over 2 web servers. So vhost1-4 are configured to run on webA01 & webA02. vhost1-3 are configured in one apache instance and vhost4 has a dedicated apache instance. ~Steve
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Henrik Størner
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 redAdd 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.
▸
2) 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
list Henrik Størner
▸
On Wed, Dec 12, 2007 at 11:03:38AM -0500, Josh Luthman wrote:
group-compress Apache Web Instances 0.0.0.0 webInstA01 # noconn http://vhost1.domain.com=1.3.5.8/status/status.htm http://vhost2.domain.com=1.3.5.9/status/status.htm https://vhost3.domain.com=1.3.5.10/status/status.htm 0.0.0.0 webInstB01 # noconn http://vhost4.domain.com=1.3.5.11/status/status.htmThat's the same way Bert has it up there. Though anyone reading in the future be warned - those HTTP URLs are after the noconn, there are no breaks!
Note that you can use a backslash at the end of the line to break up long lines in bb-hosts. So I've taken to writing this like 0.0.0.0 webInstA01 # noconn \ http://vhost1.domain.com=1.3.5.8/status/status.htm \ http://vhost2.domain.com=1.3.5.9/status/status.htm \ https://vhost3.domain.com=1.3.5.10/status/status.htm \ which at least makes it clearer where the http checks belong. Henrik
list Hobbit User in Richmond
▸
On Wed, December 12, 2007 16:10, Henrik Stoerner wrote:
Note that you can use a backslash at the end of the line to break up long lines in bb-hosts. So I've taken to writing this like 0.0.0.0 webInstA01 # noconn \ http://vhost1.domain.com=1.3.5.8/status/status.htm \ http://vhost2.domain.com=1.3.5.9/status/status.htm \ https://vhost3.domain.com=1.3.5.10/status/status.htm \ which at least makes it clearer where the http checks belong.
Sweet! You're a thoughtful man, Henrik. I'm sure it's in the manpages, but I didn't know that. Thanks. regards, j.
list Haresh Shah
Hi All, Thanks for your replies. I added "~" before cont & cont test working as per my expectation. Thanks Henrik & All.
▸
~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Wednesday, December 12, 2007 8:12 AM To: 'user-ae9b8668bcde@xymon.invalid' Subject: RE: multiple http test can anyone please help me on this? ~ Haresh From: Shah, Haresh K (GE, Corporate, consultant) Sent: Tuesday, December 11, 2007 12:45 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: multiple http test Hi Henrik, 1) 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 user-bff61b36f2ac@xymon.invalid 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. 2) 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. ~ Haresh