[Nagiosplug-help] check_http time out don't make a critical status on Nagios

Hocine Zebbar hocine.zebbar at polymtl.ca
Fri Jun 19 15:56:48 CEST 2009


There is my template:

define service{
name                           local-service
use                            generic-service
max_check_attempts             4
normal_check_interval          0.5
retry_check_interval           0.5
register                       0

}

and my definition in localhost
define service{
use                             local-service
host_name                       myHost
service_description             Vaqm_http
check_command                   check_http!-u /vaqm!-p 8000!-c 8
notifications_enabled           1
}

OS: Ubuntu server





Selon Thomas Guyot-Sionnest <dermoth at aei.ca>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18/06/09 06:29 PM, Hocine Zebbar wrote:
> > Hi,
> >
> > I have a question about check_http.
> >
> >
> > I’m using check_http to track on of my services. When my services is
> down,  I
> > use this command:
> > /usr/local/nagios/libexec/check_http -I 172.30.64.64 -p 8000 -u /vaqm -c 8
> >
> > I got a time out ‘CRITICAL - Socket timeout after 10 seconds’.
> >
> > But according to nagios, my services still be up ! How can I force nagios
> to
> > change the state of the services from ok to critical when he receive a time
> out
> > ?
>
> Maybe the check interval is too long, or you accidentally disabled
> active checks in the web interface. Can you post your service definition
> including any template used by it?
>
> Thanks,
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFKOuBz6dZ+Kt5BchYRAsN0AJ9FnYbqxUrqewXKCPvQUcywHIZLLACgnmIm
> hDOY7M36d0RuTbSz3dx92Rg=
> =5zw+
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>







More information about the Help mailing list