Page 2 of 3
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Tue Jun 24, 2014 2:02 am
by riyasbasheer
I could try but if that's working for bandwidth checks, it should work for status checks as well?
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Tue Jun 24, 2014 2:14 pm
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.
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Jun 25, 2014 5:59 am
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.
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Jun 25, 2014 11:16 am
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.
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Jun 25, 2014 1:53 pm
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.
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Fri Jun 27, 2014 10:15 am
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?
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Sep 24, 2014 4:42 am
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?
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Sep 24, 2014 5:21 am
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
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Wed Sep 24, 2014 2:32 pm
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
Re: Port status not showing on Cisco switch using SNMPv3
Posted: Thu Sep 25, 2014 1:52 am
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