Plugin Keeps reporting issue, randomly

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.
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Plugin Keeps reporting issue, randomly

Post by nathanplatt »

Back on topic:

Notification Type: PROBLEM
Service Name: QNAPDISK
Service Group:
Service Status: UNKNOWN
Service Data: CHECK_QNAPDISK UNKNOWN - plugin timed out (timeout 20s)

Hostname: qnapbackup

Issue is still happening
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Plugin Keeps reporting issue, randomly

Post by scottwilkerson »

Basically this issue comes down to the Nagios server not getting a response in a timely manner from the server you are connecting to. Which unfortunately is somewhat common with udp over wider network segments.

The only 2 things remaining would be to yet again increase the timeout, or, alternately, install an agent on or closer to the device you are polling to hopefully to eliminate the possibility of the udp packet getting dropped.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Plugin Keeps reporting issue, randomly

Post by nathanplatt »

HI Scott,

Thanks for this, when you say agent. Do you mean a whole nagios server?

Nathan
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Plugin Keeps reporting issue, randomly

Post by scottwilkerson »

nathanplatt wrote:HI Scott,

Thanks for this, when you say agent. Do you mean a whole nagios server?

Nathan
No, I mean like our NRPE agent
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Plugin Keeps reporting issue, randomly

Post by nathanplatt »

Ah well in this case it's pulling the information from the Storage device directly using SNMP. There's no agent on the device
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Plugin Keeps reporting issue, randomly

Post by rkennedy »

nathanplatt wrote:Ah well in this case it's pulling the information from the Storage device directly using SNMP. There's no agent on the device
What Scott is mentioning, is SNMP uses UDP. As you're doing SNMP checks, you have two options -
The only 2 things remaining would be to yet again increase the timeout, or, alternately, install an agent on or closer to the device you are polling to hopefully to eliminate the possibility of the udp packet getting dropped.
This suggests to either increase the timeout higher than 20. The second option is to use an agent on this machine (rather than SNMP), or an agent at the same location as this machine to poll the device (using NSClient++ or NRPE).
Former Nagios Employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Plugin Keeps reporting issue, randomly

Post by nathanplatt »

Okay thank you guys, i'll work on the timeout variable till i get the right amount, please close case.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Plugin Keeps reporting issue, randomly

Post by rkennedy »

Roger that. Closing and out.

Feel free to create a new thread if you need any assistance in the future.
Former Nagios Employee
Locked