Page 1 of 1

No valid data returned (No Such Instance currently exists at

Posted: Thu Oct 07, 2021 1:39 pm
by preethu.d
Hi Team,

I have added one OID into monitoring for a storage device but I am getting error as below.

No valid data returned (No Such Instance currently exists at this OID)

I checked the OID and its corresponding MIB file and I don't see that MIB file available in Nagios under manage MIB.

Do I need to upload MIB file corresponding to the OID in Nagios for that OID to work ?

Also if I have to upload should I process the MIB file ?

Regards,
Preethu

Re: No valid data returned (No Such Instance currently exist

Posted: Fri Oct 08, 2021 10:38 am
by gsmith
Hi,

Did you use the numeric value or the text value for the OID?

If you use the numeric value than a MIB file is not required. If you
use the numeric value and get that error than either the OID you are looking
for is not available on that device or there may be an issue with the
security, like a bad community name.

On the nagios server run:

Code: Select all

snmpwalk -v 2c -c public <ip address of machine to be monitored>
Look at the output and see if it contains the OID you are trying to monitor.

Please let me know what you find out.

Thanks

Re: No valid data returned (No Such Instance currently exist

Posted: Mon Oct 11, 2021 3:50 am
by preethu.d
Hi,

The device has SNMPv3 configured and it is responding to SNMP.

Regards,
Preethu

Re: No valid data returned (No Such Instance currently exist

Posted: Mon Oct 11, 2021 5:52 pm
by ssax
If you are using the OID number no MIB should be needed:

Code: Select all

snmpwalk -v3 -u snmpv3user -A 'authPass' -a SHA -X 'privPass' -x AES -l authPriv X.X.X.X .1.3.6.1.2.1.2.2.1.2
If you are using the OID name, a MIB is required to translate it:

Code: Select all

snmpwalk -v3 -u snmpv3user -A 'authPass' -a SHA -X 'privPass' -x AES -l authPriv X.X.X.X ifDesc
It looks like the remote device isn't serving that OID that you are looking for, otherwise it would have given a different error. What OID are you trying to pull? What type of device is it?

Re: No valid data returned (No Such Instance currently exist

Posted: Wed Oct 13, 2021 12:51 pm
by preethu.d
Hi,

I am using OID number. OID is 1.3.6.1.4.1.9.9.117.1.1.2.1.2 and it is a Cisco san switch.

Regards,
Preethu

Re: No valid data returned (No Such Instance currently exist

Posted: Thu Oct 14, 2021 2:16 pm
by ssax
Run this command with your credentials and change X.X.X.X to the IP of the Cisco device:

Code: Select all

snmpwalk -v3 -u snmpv3user -A 'authPass' -a SHA -X 'privPass' -x AES -l authPriv X.X.X.X 1.3.6.1.4.1.9.9.117.1.1.2.1.2
If you get No Such Instance error that means the remote device is not serving that OID.

Re: No valid data returned (No Such Instance currently exist

Posted: Mon Oct 18, 2021 12:27 am
by preethu.d
Hi,

I executed the command and I am getting error as "No Such Instance currently exists at this OID", looks like the device is not serving the OID.
Thanks for your help, you can close the thread.

Regards,
Preethu.

Re: No valid data returned (No Such Instance currently exist

Posted: Mon Oct 18, 2021 4:30 pm
by ssax
Yep, that would be the case. Thanks for the update. Locking this up and marking as resolved per your request.

Thank you!