[mrtg] Re: mrtg polling by description
Eduardo Jordan G.
ejordan at sitioactivo.net
Thu Jun 21 07:31:42 MEST 2001
Thank you, but I think I was not clear.
I want to use description given by router administrator,
not the description given by router OS that you are
mentioning.
Here is an example, Description1 = Serial0/0:3, where
Description1 is given by administrator and Serial0/0:3 is
given (recognized???) by router OS.
Why I need this? Because we are often inserting and/or changing
interfaces for new customers, and I don't want to edit
mi mrtg.cfg every time we do so.
Target[customer1]: \Descriptionl:cstring at x.x.x.x
MaxBytes[customer1]: 8000
Title[customer1]: Customer 1
PageTop[customer1]: Customer 1
Any idea on how to get this working???
Regards,
Eduardo Jordan
--------------
Sitio Activo
http://www.sitioactivo.net/
Mensaje citado por: David Sawyer <david.sawyer at uk.mckhboc.com>:
> I appologise if I have totally misunderstood the question, but the way
> I
> read it was that you want to use the Description in your target, but
> not
> sure what to put there?
>
> Telnet to the router and do a 'sh int' or do an SNMP walk on
> 1.3.6.1.2.1.2.2.1.2 - ifDescr
>
> That will show you the name of the interface, ie Serial0 - Ethernet0/0
> -
> Serial0/0:3
>
> Just remember that this is case sensitive and any odd characters like
> @,
> colons, spaces and ampersands (&) will need to be preceded with a
> backslash
> (\).
> So interface Serial0/0:3 would be entered in your target as
> Serial0/0\:3
>
> HTH
> Dave
>
>
> > -----Original Message-----
> > From: "Eduardo Jordan G." [SMTP:ejordan at sitioactivo.net]
> > Sent: Wednesday, June 20, 2001 1:13 PM
> > To: mrtg at list.ee.ethz.ch
> > Subject: [mrtg] mrtg polling by description
> >
> > Target[customer1]: \Descriptionl:cstring at x.x.x.x
> > MaxBytes[customer1]: 8000
> > Title[customer1]: Customer 1
> > PageTop[customer1]: Customer 1
> >
> >
> >
--
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