Nagios SNMP Error:timeout

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
henrywang2016
Posts: 9
Joined: Wed Aug 19, 2015 8:15 pm

Nagios SNMP Error:timeout

Post by henrywang2016 »

Nagios server:centos 7 64bit
Nagios Version:4.0.8
Server: windows 2008 R2 installed SNMP version 2 161port is allow on localhost.
when I using check_hpmsa plugin to monitor HP server Hardware status, sometimes on nagios web page:it always prompt:SNMP timeout, but sometimes it display hardware status is normal. it's very strange, please see attachment picture.

on windows server,HP software and drivers was installed and configure corrected.
please help,thank!

command:
./check_hpasm -H hostname -C public -v
output:
check_hpasm timed out after 60 seconds
Attachments
02.jpg
01.jpg
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios SNMP Error:timeout

Post by rkennedy »

After reading around it seems like many others have had this same issue with this plugin. From what I gathered, it might be related to time out and HP taking time to process during high load times.

Can you run the command with the -v -t 120 flags and post the output here?

Try a few times to see if it fails the first time. When you mentioned that it sometimes works, and sometimes does not that is the first thing that comes to mind.
Former Nagios Employee
henrywang2016
Posts: 9
Joined: Wed Aug 19, 2015 8:15 pm

Re: Nagios SNMP Error:timeout

Post by henrywang2016 »

Dear rkennedy :
thanks your reply,
I used the command with -v -t 120 , I found some servers hardware status is work fine, you're right,
and have other servers hardware status still failed and timeout , I changed -t 180 ,it also have same error.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios SNMP Error:timeout

Post by rkennedy »

Hmm, so did it fix some and not others?

Are these servers at a remote location?

I still believe it is the timeout, perhaps with a -t 240 or -t 300 that will be enough time for a response?
Former Nagios Employee
Locked