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

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
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

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

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

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

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

Thanks for the assist, @eloyd!
Former Nagios employee
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

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

Post by asiansuntrading »

hi

How can I fix it?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

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

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

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

Post by asiansuntrading »

thanks alot
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

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