timeout error nrpe plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
wforumw
Posts: 2
Joined: Mon Nov 29, 2010 10:38 am

timeout error nrpe plugin

Post by wforumw »

Hi,

I have a plugin on a remote server that takes some time to finisch (approx. 3 minutes)
When I try to use the nrpe.plugin to check the remote command I always get an error
NRPE: Command timed out after 60 second
s

The command I use is:

Code: Select all

/usr/lib/nagios/plugins/check_nrpe -H hostname -t 300 -c check_script
I changed in nagios.cfg

Code: Select all

service_check_timeout=300
How can I change the Command timeout to 240 second?

Many thanks
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: timeout error nrpe plugin

Post by tonyyarusso »

There is a separate option for NRPE, command_timeout=60 in nrpe.cfg, as well as an NRPE-specific connection timeout.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
wforumw
Posts: 2
Joined: Mon Nov 29, 2010 10:38 am

Re: timeout error nrpe plugin

Post by wforumw »

Thanks, that did it.
I only changed the command timeout in nagios,cfg and forgot to change it also in nrpe,cfg
Locked