Page 1 of 1

nagios 4.3.2 show "plugin timeout" instead of "packet loss"

Posted: Tue Jul 04, 2017 7:15 am
by asiansuntrading
hi

We have latest version of nagios core but nagios display "plugin timeout" error instead of "packet loss" error in "Service Problems".
What is your approach?

thanks

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Wed Jul 05, 2017 9:13 am
by eloyd
Plugin timeout means that the plugin did not return a result in the timeout window allowed by Nagios (default is 60 seconds for a service). It is possible that your plugin has its own timeout that's longer than this, thus Nagios stops listening after 60 seconds and displyas "plugin timeout" because it gets no response from the plugin within 60 seconds, even though the plugin would eventually return its own error message.

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Wed Jul 05, 2017 10:40 am
by tmcdonald
Thanks for the assist, @eloyd!

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Fri Jul 07, 2017 10:49 pm
by asiansuntrading
hi

How can I fix it?

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Mon Jul 10, 2017 1:25 pm
by tgriep
Can you post how the command is defined so we can verify that the settings are correct?
If you are using the check_ping plugin for that service, it will not return a packet loss message but the check_icmp plugin will if it cannot connect to the remote system.
Change your service to use the check_icmp instead.

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Mon Jul 10, 2017 11:05 pm
by asiansuntrading
hi
Yes, we use the check_ping command but before than we upgrade our nagios core to 4.3.2, this plugin returns us packet loss 100% items...

Code: Select all

$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Tue Jul 11, 2017 8:49 am
by tgriep
There are a few things you can do.
1. Change to the check_icmp plugin.
2. Downgrade the check_ping plugin to an older version which worked the way you want.
3. Fill in a bug report at the link below to get the check_ping bug fixed.
https://github.com/nagios-plugins/nagios-plugins/issues

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Wed Jul 12, 2017 4:55 am
by asiansuntrading
thanks alot

Re: nagios 4.3.2 show "plugin timeout" instead of "packet lo

Posted: Wed Jul 12, 2017 10:21 am
by tgriep
Your welcome.