Unknown Object Identifier - HOST MIBS
Tam Vo <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OF1FE04E4C.1392FB35-ON882570C8.0008346F-882570C8.00095FC5@mck.us.ray.com> |
Everytime I tried accessing information in the HOST-RESOURCES-MIB, both
locally and remote, I got a Unknown Object Identifier error. For example,
when I try to perform
snmpget -v 1 -c public localhost hrSystemDate I would get an
error
Unknown Object Identifier (sub-id not found: (top) ->
hrSystemDate
I've looked in the NET-SNMP User forum and tried the other suggestions
like
snmpget -v 1 -c public localhost HOST-RESOURCES-MIB:hrSystemDate
snmpget -v 1 -c public localhost HOST-RESOURCES-MIB::hrSystemDate
snmpget -m +HOST-RESOURCES-MIB -v 1 -c public localhost
hrSystemDate
snmpget -v 1 -c public localhost .1.3.6.1.2.1.25.3.1.2.0
All gave the same error. I followed the instructions given in
README.solaris (http://net-snmp.sourceforge.net/docs/README.solaris.html)
to add the net-snmp.reg and net-snmp.rsrc (page 12) under /etc/snmp/conf
to run net-snmp together with the Sun's SNMP daemon. I verified all the
MIB files are installed under /usr/local/share/mibs.
System Specificiation:
OS - Solaris SPARC 8
net-snmp - 5.0.10.1 compile and install from the source code