check_http

Dale J. Chatham dale at chatham.org
Tue Jan 27 19:56:50 CET 2009


Look at the -s option on check_http.  Check to see that it returns 
something on the page.  If it doesn't, alert.

Kaushal Shriyan wrote:
> Hi
>
> I have a situation whenever my website www.example.com 
> <http://www.example.com> goes down due to the following reason,it gets 
> redirected to error.example.com <http://error.example.com>
>
> 1. tomcat is stopped
> 2. all threads are busy
> 3. tomcat not responding bcos of load or some code bug or DB error.
>  
> Nagios should send an Critical Alert. Can it be done using check_http?
>
> sudo -u nagios /usr/nagios/libexec/check_http -H www.example.com 
> <http://www.example.com> --onredirect=critical
>
> Does it make sense ?
>
> Thanks and Regards
>
> Kaushal
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list