Port status not showing on Cisco switch using SNMPv3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

I could try but if that's working for bandwidth checks, it should work for status checks as well?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Port status not showing on Cisco switch using SNMPv3

Post by sreinhardt »

Ya it's possible unfortunately. They are different checks, I don't think it's anything with Core or XI, but with the plugin itself.
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.
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

I upgraded the wizard to 2.1.2 but that didn't change anything. The bandwidth checks are working, status checks aren't.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Port status not showing on Cisco switch using SNMPv3

Post by sreinhardt »

I don't believe that would change anything, as that plugin was not updated in any of the recent wizard updates. Again I would really suggest trying one of your systems without an @ symbol first and verifying if the ports are correctly checked.
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.
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

Yes, I have already informed the networking team to change to an alphanumeric password for testing. I will have an update for you within the next 24 hours.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Port status not showing on Cisco switch using SNMPv3

Post by lmiltchev »

Yes, I have already informed the networking team to change to an alphanumeric password for testing. I will have an update for you within the next 24 hours.
Any updates? Is your issue resolved?
Be sure to check out our Knowledgebase for helpful articles and solutions!
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

We upgraded to Nagios XI (2014R1.4) and also set a alphanumeric password but it still doesn't work.

Port bandwidth is displayed properly but port status is shown as UNKNOWN - No info is being retrieved.

Any suggestions?
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

I also tried different combinations as mentioned here: http://support.nagios.com/forum/viewtop ... 0&start=10 but that didn't help either.

Command the wizard generates:
check_xi_service_ifoperstatusnag!10101!-v3 -u snmprouser -A snmpgdi123 -x DES -X snmpgdi123 -a MD5 -l noAuthNoPriv

I tried the following from commandline:
[root@nagios ~]# /usr/local/nagios/libexec/check_ifoperstatnag 10101 -v3 -u snmprouser -A snmpgdi123 -x DES -X snmpgdi123 -a MD5 -l noAuthNoPriv 192.168.13.20
Error in packet.
Reason: authorizationError (access denied to that object)
UNKNOWN - No info is being retrieved


[root@nagios ~]# /usr/local/nagios/libexec/check_ifoperstatnag 10101 -v 3 -u snmprouser -A snmpgdi123 -x DES -X snmpgdi123 -a MD5 -l noAuthNoPriv 192.168.13.20
Error in packet.
Reason: authorizationError (access denied to that object)
UNKNOWN - No info is being retrieved
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Port status not showing on Cisco switch using SNMPv3

Post by lmiltchev »

What happens, when you run the command with "-l AuthNoPriv"?

Code: Select all

/usr/local/nagios/libexec/check_ifoperstatnag 10101 -v 3 -u snmprouser -A snmpgdi123 -x DES -X snmpgdi123 -a MD5 -l AuthNoPriv 192.168.13.20
Be sure to check out our Knowledgebase for helpful articles and solutions!
riyasbasheer
Posts: 15
Joined: Thu Jun 12, 2014 12:59 am

Re: Port status not showing on Cisco switch using SNMPv3

Post by riyasbasheer »

Same issue:

[root@nagios ~]# /usr/local/nagios/libexec/check_ifoperstatnag 10101 -v 3 -u snmprouser -A snmpgdi123 -x DES -X snmpgdi123 -a MD5 -l AuthNoPriv 192.168.13.20
Error in packet.
Reason: authorizationError (access denied to that object)
UNKNOWN - No info is being retrieved
Locked