1. Verify that service_check_timeout in the nagios.cfg on your nagios server is set high enough:
grep service_check_timeout /usr/local/nagios/etc/nagios.cfg
NOTE: Remember to restart nagios after any changes to nagios.cfg.
2. Add "-t" to the check_nrpe command on the nagios server:
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$
3. Verify that the command_timeout in the nrpe.cfg file on the remote host is configured to be long enough:
Code: Select all
grep command_timeout /usr/local/nagios/etc/nrpe.cfgDoes the command run correctly with -t 30 from the cli?
Code: Select all
./check_nrpe -H <host> -t 30 -c check_cassandra