Page 1 of 1

Plugin time out - check_ping when host is not DOWN

Posted: Fri Oct 25, 2019 3:43 am
by vlakshman
Guys,

I am using check-host-alive which is using check_ping (2.2.1) & have set the host_check_timeout=60 in nagios.cfg.

define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}

Sometimes Nagios report host as "DOWN" with message "Plugin time out" during which the server monitored is actually UP.
Any thoughts on how to resolve this?

Re: Plugin time out - check_ping when host is not DOWN

Posted: Fri Oct 25, 2019 11:13 am
by benjaminsmith
Hello,

Try updating your check command with the -t 60 timeout option on the plugin.

Code: Select all

check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 60