error in snmp traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

error in snmp traps

Post 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,
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: error in snmp traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: error in snmp traps

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: error in snmp traps

Post by sreinhardt »

ok, so everything is working correctly now?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: error in snmp traps

Post by hanya.radwan »

no it is still but after many attempts the problem disappear.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: error in snmp traps

Post 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.
Former Nagios employee
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: error in snmp traps

Post by hanya.radwan »

1.png
1.png
please find the attached
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: error in snmp traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: error in snmp traps

Post by hanya.radwan »

i'm not change any thing. but I think as you said when retry many attempts , the problem disappear
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: error in snmp traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked