Changing the NRPE timeout

Mark Young myoung at nagios.org
Fri Oct 3 16:37:17 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.
> Thanks
> --  
> Bo Lynch

Timeouts are maintained in the nagios.cfg and in how you call each  
plugin.  Most plugins will have a timeout option that you can change  
by modifying your command to pass an additional flag.  For example './ 
check_nrpe -H HOSTNAME -t 30 -c CMD' would give you a timeout of 30  
seconds.  As long as you are not setting a timeout value for the  
plugin greater than that set globally for Nagios in the nagios.cfg you  
should be fine.  Otherwise adjust the global settings *CAREFULLY* as  
you may run into potential performance problems.

Normally with plugin issues you should run the plugin from the  
commandline as user nagios to find useful help information (passing '- 
h' or '--help') and debugging problems.

Mark Young
___
Nagios Enterprises, LLC
Web:    www.nagios.com



-------------------------------------------------------------------------
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