Page 1 of 1

Nagios SNMP Error:timeout

Posted: Fri Nov 13, 2015 2:16 am
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

Re: Nagios SNMP Error:timeout

Posted: Fri Nov 13, 2015 1:18 pm
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.

Re: Nagios SNMP Error:timeout

Posted: Mon Nov 16, 2015 12:19 am
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.

Re: Nagios SNMP Error:timeout

Posted: Mon Nov 16, 2015 10:26 am
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?