Hi,
I've got Nagios up and running to monitor our infrastructure. All works well, except a single check that has a long runtime (> 30 sec). The service itself displays :
CHECK_UPDATES UNKNOWN - plugin timed out (timeout 15s)
The command definition :
define command{
command_name check_nrpe
command_line /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -t 60
}
define service{
use c1-service
normal_check_interval 480
retry_check_interval 60
host_name s1.internal
service_description RPM
check_command check_nrpe!check_rpm
}
What am I missing here ? The timeout should be 60 seconds, but it is actually 15 seconds. I can't seem to find where that 15 seconds is coming from, nor how to change it. Can someone point me in the right direction ?
Regards,
Igmar
Nagios plugin timeout
Re: Nagios plugin timeout
Try putting the -t flag before the -c flag. It's probably interpreting your timeout as a command argument for the remote machine.