[mrtg] Re: Interface Description

Joe Loiacono jloiacon at nastg.gsfc.nasa.gov
Mon Oct 25 17:41:22 MEST 1999


At 01:28 PM 10/24/99 -0400, David C Prall wrote:
>> 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.

Thanks Dave.

Assuming I get the right OID, how do I then get the information into the
HTML. In other words, how do I point to the text string that is returned.
How do I place that text string into the HTML?


Thanks,

Joe

Joe Loiacono                             Phone: (301) 794-2509
Computer Sciences Corporation            Fax:   (301) 794-9480

--
* 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