Plugin time out - check_ping when host is not DOWN

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
vlakshman
Posts: 27
Joined: Tue Aug 21, 2018 11:03 am

Plugin time out - check_ping when host is not DOWN

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked