[mrtg] Re: a question

Steffen Kluge kluge at fujitsu.com.au
Fri Oct 15 09:10:07 MEST 1999


On Thu, Oct 14, 1999 at 10:05:03AM -0500, Stieers, Ken wrote:
> There is no such thing as an OID file.

I wouldn't say that. Why can't you put OIDs into a file?
This is actually done by SunNet Manager, for example, for
the purpose of presenting the contents of traps etc. in
human readable format. Example:

"org"           "1.3"
"dod"           "1.3.6"
"internet"      "1.3.6.1"
"directory"     "1.3.6.1.1"
"mgmt"          "1.3.6.1.2"
"experimental"  "1.3.6.1.3"
"private"       "1.3.6.1.4"
"enterprises"   "1.3.6.1.4.1"
"security"      "1.3.6.1.5"
"snmpV2"        "1.3.6.1.6"
...
"snmpTrapOID"   "1.3.6.1.6.3.1.1.4.1"
"snmpTrapTable" "1.3.6.1.6.3.1.1.4.2"
"snmpTrapEnterprise"            "1.3.6.1.6.3.1.1.4.3"
"snmpV2EnableAuthenTraps"       "1.3.6.1.6.3.1.1.4.4"
"snmpTrapEntry" "1.3.6.1.6.3.1.1.4.2.1"
"snmpTrapNumbers"               "1.3.6.1.6.3.1.1.4.2.1.1"
"coldStart"     "1.3.6.1.6.3.1.1.5.1"
"warmStart"     "1.3.6.1.6.3.1.1.5.2"
"linkDown"      "1.3.6.1.6.3.1.1.5.3"
"linkUp"        "1.3.6.1.6.3.1.1.5.4"
"authenticationFailure"         "1.3.6.1.6.3.1.1.5.5"
"egpNeighborLoss"               "1.3.6.1.6.3.1.1.5.6"
...

Looks like a good thing to have. MRTG has a rudimentary "OID
file" embedded as hash %snmpget::OIDS. It doesn't come with a
tool to extract this info from MIBs, although that shouldn't be
too hard. I'm lucky to have SunNet Manager tools doing it for
me.

Cheers
Steffen.

-- 
Steffen Kluge <kluge at fujitsu.com.au>
Fujitsu Australia Ltd
Keywords: photography, Mozart, UNIX, Islay Malt, dark skies
--

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list