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.
No such instance currently exists at this OID
-
Santoshthakur
- Posts: 1
- Joined: Fri Nov 20, 2015 9:20 am
-
jrdalrymple
- Posts: 16
- Joined: Fri Nov 13, 2015 4:49 pm
Re: No such instance currently exists at this OID
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:
2) share with us a sanitized copy of snmpd.conf
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> hostnameRe: No such instance currently exists at this OID
What happens if you run the check command using the OID rather than the MIB?
Former Nagios Employee