Page 1 of 1

No such instance currently exists at this OID

Posted: Fri Nov 20, 2015 9:35 am
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.

Re: No such instance currently exists at this OID

Posted: Fri Nov 20, 2015 11:07 am
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

Re: No such instance currently exists at this OID

Posted: Fri Nov 20, 2015 11:13 am
by rkennedy
What happens if you run the check command using the OID rather than the MIB?