CHECK_NRPE: Socket timeout after 10 seconds

Lonny Selinger lonny at bangtherockstogether.net
Mon Mar 24 22:07:23 CET 2003


> I am using nrpe under HP-UX 10.20, some Services are getting the folloing  Status
> Information :
> CHECK_NRPE: Socket timeout after 10 seconds
> Where do I set up this to timeouts grater than 10 seconds ?
> tks
> Marcel Andrade

You can change this in the command definition. Running check_nrpe without any
options will give you the options available to you. Depending on the timeout you
want ... you'll want something like this in your checkcommands.cfg:

; put a time out of 20 on check_nrpe for checks that take a little longer

define command {
command_name                   check_remote
command_line                   /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p
5552 -to 20 -c $ARG1$
}

'-to' being the option for timeout

--
Lonny Selinger LPIC-1





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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