Page 1 of 2

error check_ifoperstatnag SnmpV3

Posted: Mon Jul 07, 2014 12:20 pm
by pamuro01
Hi there.

I have problems with checking the status of the switch with SNMPv3.

It throws the following error:
"UNKNOWN - No info is being retrieved."

If I run the console the error is as follows:

"Error in packet.
Reason: AuthorizationError (access denied to That object)
Error in packet
Reason: AuthorizationError (access denied to That object)
UNKNOWN - No info is being retrieved. "

I am running with Nagios XI 2014R1.2

Running the bandwidth check is good, only fault status.

Re: error check_ifoperstatnag SnmpV3

Posted: Mon Jul 07, 2014 5:10 pm
by abrist
Are you sure those oids are available?
Do they show up in a walk?
Can you post the full command for a working and non-working example?

Re: error check_ifoperstatnag SnmpV3

Posted: Tue Jul 08, 2014 8:59 am
by pamuro01
the error is as follows:
error1.JPG
The equipment is cisco, I imagine the OID are correct :?

Do they show up in a walk?
R: Sorry do not understand your question

Re: error check_ifoperstatnag SnmpV3

Posted: Tue Jul 08, 2014 3:58 pm
by tmcdonald
pamuro01 wrote: Do they show up in a walk?
R: Sorry do not understand your question
Please run the following:

Code: Select all

snmpwalk -v 3 -c <community> <ip address> -On > /tmp/snmpwalk.txt
and post/PM the snmpwalk.txt file.

Re: error check_ifoperstatnag SnmpV3

Posted: Thu Jul 17, 2014 8:50 am
by pamuro01
I send result

Re: error check_ifoperstatnag SnmpV3

Posted: Thu Jul 17, 2014 4:31 pm
by abrist
What command did you run? If you can walk the device without snmp v3 credentials, then you most likely have an issue with the snmp config on the device as v3 should *require* creds. Did you add your creds to the walk (and omit the community string) or did you walk it with v2c/1?

Re: error check_ifoperstatnag SnmpV3

Posted: Tue Jul 22, 2014 9:31 am
by pamuro01
the command you sent me does not work, SNMP v3 does not use community.

The command used was:

#snmpwalk 192.168.xx.xx -v 3 -a md5 -A NagiosOperxxxx -l authNoPriv -u NAGIOSv3 -x AES -X NagiosOperxxxxWLC -On > /tmp/snmpwalk.txt

The equipment is only enabled for SNMP v3

Re: error check_ifoperstatnag SnmpV3

Posted: Wed Jul 23, 2014 2:16 pm
by abrist
Could you post the *new* contents of the walk from the file:

Code: Select all

/tmp/snmpwalk.txt

Re: error check_ifoperstatnag SnmpV3

Posted: Wed Jul 23, 2014 4:18 pm
by pamuro01
the file is in my answer of 17 July, the same document is the result of the query snmp

Re: error check_ifoperstatnag SnmpV3

Posted: Wed Jul 23, 2014 4:58 pm
by abrist
Can you post the full command from the ccm for one of the these port status checks. It looks like the port name and status are in the walk, but they may not be linked correctly.