No such instance currently exists at this OID

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Santoshthakur
Posts: 1
Joined: Fri Nov 20, 2015 9:20 am

No such instance currently exists at this OID

Post by Santoshthakur »

When I am executing command snmpget-v2c -cpassword hostname memTotalSwap, I am getting below error.
UCD-SNM-PMIB::No such instance currently exists at this OID

Could you please help me to resolve this issue.

And I am giving same error for other OIDs as well like TCP connection, CPU, network interfaces etc.

I can see MIB text files in my system. So, is there any configuration required, so that above command is properly executed.

Your suggestion is highly appreciated. Thanks.
jrdalrymple
Posts: 16
Joined: Fri Nov 13, 2015 4:49 pm

Re: No such instance currently exists at this OID

Post by jrdalrymple »

What type of system is hostname? Not all snmp agents have UCD-SNMP-MIB OIDs installed. If you ran this against a Cisco switch for example you can be rest assured you'd get the error you're seeing.

If this is a Linux system (which is my assumption) do 2 things:

1) snmpwalk the entire tree:

Code: Select all

snmpwalk -v2c -c <community string> hostname
2) share with us a sanitized copy of snmpd.conf
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No such instance currently exists at this OID

Post by rkennedy »

What happens if you run the check command using the OID rather than the MIB?
Former Nagios Employee
Locked