Port status not showing on Cisco switch using SNMPv3
-
riyasbasheer
- Posts: 15
- Joined: Thu Jun 12, 2014 12:59 am
Re: Port status not showing on Cisco switch using SNMPv3
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
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
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
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
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
Any updates? Is your issue resolved?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.
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
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?
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
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
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
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.20Be 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
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
[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