[mrtg] Re: Interface Description
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.
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
>> how to get an Interface Description into the HTML. I have seen where
>> 18.104.22.168.22.214.171.124.126.96.36.199&188.8.131.52.184.108.40.206.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
>> 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
>> 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> =
>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