[mrtg] Re: Interface Description
Neil Calvert
ncalvert at cabletron.com
Sun Oct 24 22:17:23 MEST 1999
This is a somewhat off the wall suggestion, but MRTG automatically
creates *.ok files that list the ifDescr of each target it is monitoring
(in order to guard against devices reconfiguring without you noticing).
Perhaps you could run a script to parse this data into an html page?
Just a thought.
Neil
-----Original Message-----
From: David C Prall <dcp at dcptech.com>
To: mrtg at list.ee.ethz.ch <mrtg at list.ee.ethz.ch>
Date: Sunday, October 24, 1999 1:57 PM
Subject: [mrtg] Re: Interface Description
>> I've scanned through the archives but still don't have a good idea as
>to
>> how to get an Interface Description into the HTML. I have seen where
>> 1.3.6.1.4.1.9.2.2.1.1.28&1.3.6.1.2.1.31.1.1.1.18 will provide Cisco
>> 'CiscolocIfDescr' and 'ifAlias' respectively.
>>
>> How does one point this to a particular interface (or is that already
>> embedded in the OID - if so which digit, and how can I best find that
>out?)
>> Then does one set up a target with the same name as the interface
>> statistics target? How does one get to the returned value in order to
>put
>> it into the HTML?
>
>You need to be able to walk the MIB's in order to determine all of the
>information you need. I would recommend GETIF for NT. You can do an
>snmpwalk of the router which will return ifName.<target number> =
>serial0.
>
>David C Prall, MCNE MCSE DCP Technologies
>dcp at dcptech.com Alexandria, VA
>dcppage at dcptech.com http://www.dcptech.com
>
>
>--
>* 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
>
--
* 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