Page 1 of 1

error in snmp traps

Posted: Tue Apr 29, 2014 6:34 am
by hanya.radwan
hi,

this service gives the below error:
External command error: No log handling enabled - turning on stderr logging
Bad SIZE syntax (OCTETSTRING): At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txt
Bad parse of OBJECT-TYPE: At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txt
Did not find 'openViewSeverity' in module HPOV-NNM-MIB (/usr/share/snmp/mibs/ALCATEL-NMC-PROXY-AGENT-MIB.txt)
Timeout: No Response from 10.202.6.23:161.

thanks,

Re: error in snmp traps

Posted: Tue Apr 29, 2014 10:15 am
by sreinhardt
You have several issues here, that are not generated by the plugin.

Code: Select all

Bad SIZE syntax (OCTETSTRING): At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txt
Indicates there may be an issue or illegal size variable at line 203 of /usr/share/snmp/mibs/HPOV-NNM.txt

Code: Select all

Bad parse of OBJECT-TYPE: At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txt
Another issue at 203 of the same file.

Code: Select all

Did not find 'openViewSeverity' in module HPOV-NNM-MIB (/usr/share/snmp/mibs/ALCATEL-NMC-PROXY-AGENT-MIB.txt)
Stating that an oid in /usr/share/snmp/mibs/ALCATEL-NMC-PROXY-AGENT-MIB.txt has a dependency on 'openViewSeverity' in module HPOV-NNM-MIB, which might be partially due to that file not reading in properly.

Code: Select all

Timeout: No Response from 10.202.6.23:161.
Your host is not responding on port 161 for snmp requests. This could be due to snmp not running on the remote host, a firewall on the system or in between, or the host not allowing the nagios machine to access snmp.

Re: error in snmp traps

Posted: Wed Apr 30, 2014 3:45 am
by hanya.radwan
I checked snmp on remote host and it is working . also after some attempts the service becomes Ok and the error disappear

Re: error in snmp traps

Posted: Wed Apr 30, 2014 11:03 am
by sreinhardt
ok, so everything is working correctly now?

Re: error in snmp traps

Posted: Wed Apr 30, 2014 2:02 pm
by hanya.radwan
no it is still but after many attempts the problem disappear.

Re: error in snmp traps

Posted: Wed Apr 30, 2014 4:58 pm
by tmcdonald
hanya.radwan wrote:no it is still but after many attempts the problem disappear.
Could you demonstrate this for us? Are you testing this by running checks manually or in Nagios XI does it show a few attempts and then it works? Screenshots are good.

Re: error in snmp traps

Posted: Thu May 01, 2014 3:19 am
by hanya.radwan
1.png
1.png
please find the attached

Re: error in snmp traps

Posted: Thu May 01, 2014 9:34 am
by sreinhardt
OK, so what did you change while retrying these checks? Based on the output, I highly doubt that it would just begin working from repeated retries of the same command.

Re: error in snmp traps

Posted: Fri May 02, 2014 5:59 am
by hanya.radwan
i'm not change any thing. but I think as you said when retry many attempts , the problem disappear

Re: error in snmp traps

Posted: Fri May 02, 2014 10:02 am
by sreinhardt
OK, since this seems to be working, I am going to lock up this thread. I will say that if you actually changed nothing, I would not be surprised if it comes back. If so just open up a new thread and link to this one please.