[mrtg] Re: unknown OID problem
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Sun Dec 19 17:10:28 MET 1999
Balthasar Indermuehle wrote:
>
> I'm trying to read a value in a 3com managed hub for which I do not have
> a MIB. I thus simply used the quoted number style instead of a name.
> That number was found using snmpwalk and it's 16.1.1.1.4.1.
>
It isn't. This is only a partial OID. You need to find out what the
correct prefix is to make it a complete OID.
Similar stuff with a cisco OID so you can see what I mean:
[user at home /home/user]$ snmpwalk cisco public .1.3.6.1.2.1.1.2
system.sysObjectID.0 = OID: enterprises.Cisco.1.19
[user at home /home/user]$
Here I ask for OID "1.3.6.1.2.1.1.2" and I get in return
OID "system.sysObjectID" with an instance of "0" and a value of
"enterprises.Cisco.1.19".
system.sysObjectID is the "1.2" at the end so my prefix is "1.3.6.1.2.1".
In other words: I query "1.3.6.1.2.1.1.2" and the answer shows "1.2" only.
If I would use this in MRTG, I had to use "1.3.6.1.2.1.1.2.0".
I'm not sure but I guess 16 is the number for 3com and your OID will be
"1.3.6.1.4.1.16.1.1.1.4.1". You can try this using snmpget:
snmpget 3combox public .1.3.6.1.4.1.16.1.1.1.4.1
regards,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list