Changing the NRPE timeout

Marc Powell marc at ena.com
Fri Oct 3 16:40:56 CEST 2008


On Oct 3, 2008, at 8:17 AM, Bo Lynch wrote:

> I am monitoring some boxes over a slow connection and need to up the
> CHECK_NRPE timeout from 10 sec to maybe 30. Where do I set this at.

There are several potential timeouts in play here --

- check_nrpe timeout. Adjusted by modifying the check_nrpe command{}  
definition --

$ ./check_nrpe --help

[snip]
Usage: check_nrpe -H <host> [-n] [-p <port>] [-t <timeout>] [-c  
<command>] [-a <arglist...>]

Options:
[snip]
  [timeout]  = Number of seconds before connection times out  
(default=10)


- nagios overall service plugin execution timeout. This should be  
higher than your highest plugin specific timeout --

$ grep timeout etc/nagios.cfg
service_check_timeout=60


- And the plugin that NRPE is executing on the remote host will have a  
default timeout value as well. Standard plugins support a -t parameter  
(like check_nrpe) but you can always run '/path/to/plugin --help' to  
see if it is a parameter and what it expects.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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