[mrtg] Re: Interface reference
David Sawyer
david.sawyer at uk.mckhboc.com
Wed Feb 28 16:57:16 MET 2001
You could reference you targets by description, ie
Interface by Description
You might want to use the interface names. This works similar to the IP
address approach only that the prefix to use is a \ instead of a /
You can tell cfgmaker to generate such references with the option
--ifref=descr.
Example:
Target[ezwf]: \My-Interface2:public at wellfleet-fddi.ethz.ch
Target[ezci]: -\My-Interface2:public at ezci-ether.ethz.ch
Target[ezwf]:
1.3.6.1.2.1.2.2.1.14\My-Interface2&1.3.6.1.2.1.2.2.1.14\My-Interface3:public
@myrouter
Target[ezwf]:
ifInErrors\My-Interface2&ifOutErrors\My-Interface3:public at myrouter
But swapping like for like, I don't see how that could change the interface
number order.
HTH
Dave
> -----Original Message-----
> From: Martinez, Samson [SMTP:SMartinez at LocaleSystems.com]
> Sent: Wednesday, February 28, 2001 3:43 PM
> To: MRTG (E-mail)
> Subject: [mrtg] Interface reference
>
> This is all personal opinion, obviously, but I'd like to get an idea of
> what
> one would consider to be the most "fool-proof" method of identifying
> interfaces in MRTG, one that would require the least amount of config file
> changes should an interface be added/removed from a router, etc. If I add
> an
> additional Ethernet interface to a 7206, for example, will the existing
> interface numbers be changed? I can imagine that removing one will require
> changes but how about replacing a defective interface? Unfortunately, I do
> not have spare devices I can toy around with so any and all info is
> sincerely appreciated.
>
> Regards,
>
> Samson
>
>
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list