Page 2 of 2
Re: Plugin Keeps reporting issue, randomly
Posted: Tue Apr 12, 2016 4:24 am
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
Re: Plugin Keeps reporting issue, randomly
Posted: Tue Apr 12, 2016 2:40 pm
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.
Re: Plugin Keeps reporting issue, randomly
Posted: Wed Apr 13, 2016 7:24 am
by nathanplatt
HI Scott,
Thanks for this, when you say agent. Do you mean a whole nagios server?
Nathan
Re: Plugin Keeps reporting issue, randomly
Posted: Wed Apr 13, 2016 8:05 am
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
Re: Plugin Keeps reporting issue, randomly
Posted: Wed Apr 13, 2016 10:33 am
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
Re: Plugin Keeps reporting issue, randomly
Posted: Wed Apr 13, 2016 3:24 pm
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).
Re: Plugin Keeps reporting issue, randomly
Posted: Thu Apr 14, 2016 3:47 am
by nathanplatt
Okay thank you guys, i'll work on the timeout variable till i get the right amount, please close case.
Re: Plugin Keeps reporting issue, randomly
Posted: Thu Apr 14, 2016 10:02 am
by rkennedy
Roger that. Closing and out.
Feel free to create a new thread if you need any assistance in the future.