error in snmp traps
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
error in snmp traps
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,
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
You have several issues here, that are not generated by the plugin.
Indicates there may be an issue or illegal size variable at line 203 of /usr/share/snmp/mibs/HPOV-NNM.txt
Another issue at 203 of the same file.
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.
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.
Code: Select all
Bad SIZE syntax (OCTETSTRING): At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txtCode: Select all
Bad parse of OBJECT-TYPE: At line 203 in /usr/share/snmp/mibs/HPOV-NNM.txtCode: Select all
Did not find 'openViewSeverity' in module HPOV-NNM-MIB (/usr/share/snmp/mibs/ALCATEL-NMC-PROXY-AGENT-MIB.txt)Code: Select all
Timeout: No Response from 10.202.6.23:161.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
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
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
no it is still but after many attempts the problem disappear.
Re: error in snmp traps
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.hanya.radwan wrote:no it is still but after many attempts the problem disappear.
Former Nagios employee
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: error in snmp traps
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
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
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
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.