[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

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 .
system.sysObjectID.0 = OID: enterprises.Cisco.1.19
[user at home /home/user]$

Here I ask for OID "" and I get in return
OID "system.sysObjectID" with an instance of "0" and a value of

system.sysObjectID is the "1.2" at the end so my prefix is "".

In other words: I query "" and the answer shows "1.2" only.

If I would use this in MRTG, I had to use "".

I'm not sure but I guess 16 is the number for 3com and your OID will be
"".  You can try this using snmpget:

snmpget 3combox public .

 / 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