error check_ifoperstatnag SnmpV3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pamuro01
Posts: 30
Joined: Fri Aug 09, 2013 8:16 am

error check_ifoperstatnag SnmpV3

Post 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.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error check_ifoperstatnag SnmpV3

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pamuro01
Posts: 30
Joined: Fri Aug 09, 2013 8:16 am

Re: error check_ifoperstatnag SnmpV3

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: error check_ifoperstatnag SnmpV3

Post 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.
Former Nagios employee
pamuro01
Posts: 30
Joined: Fri Aug 09, 2013 8:16 am

Re: error check_ifoperstatnag SnmpV3

Post by pamuro01 »

I send result
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error check_ifoperstatnag SnmpV3

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pamuro01
Posts: 30
Joined: Fri Aug 09, 2013 8:16 am

Re: error check_ifoperstatnag SnmpV3

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error check_ifoperstatnag SnmpV3

Post by abrist »

Could you post the *new* contents of the walk from the file:

Code: Select all

/tmp/snmpwalk.txt
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pamuro01
Posts: 30
Joined: Fri Aug 09, 2013 8:16 am

Re: error check_ifoperstatnag SnmpV3

Post by pamuro01 »

the file is in my answer of 17 July, the same document is the result of the query snmp
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error check_ifoperstatnag SnmpV3

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked