[mrtg] Re: Automating/Config Cfgmaker

Pavel Ruzicka pavouk at pavouk.org
Mon Sep 6 21:15:00 MEST 2004


Hello,

> I'm still having a little trouble understanding the command line.
>
> What would I type if I wanted to analyze a router on the
> following address public at 10.3.3.4?

If you want to list snmp tree of router, you can use command form net-snmp
package:
"snmpwalk -v1 -c public 10.3.3.4"

If you want to generate mrtg config from your router, you can use command
from mrtg package:
"cfgmaker public at 10.3.3.4 --ifref=descr"

Best regards,

Pavel Ruzicka


> Systems Suppport Engineer
> ACCESS PROVIDERS Pty Ltd
>
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
> Behalf Of Pavel Ruzicka
> Sent: Tuesday, August 24, 2004 5:33 PM
> To: mrtg at list.ee.ethz.ch
> Cc: Adam Dale
> Subject: [mrtg] Re: Automating/Config Cfgmaker
>
> Hello,
>
> > cfgmaker ?ifref=name ?ifdesc=alias public at X.X.X.X
> > mailto:public at X.X.X.X>  --output=/?..
> >
> > The main problem at the moment is that the descriptions on the interfaces
> > and
> > sub interfaces are not being entered into the ?MRTG_INT_DESCR? correctly.
> >
> > example: ?Fast Ethernet 0/1.1 Subinterface <SPACE> description?
> >
> > And where this space occurs it deletes the rest of the description.
> > Is there an easy alternative to this problem??
>
> I haven't this problem. I use other options for cfgmaker:
> ios.router.name community --ifref=descr --show-op-down
> --snmp-options=:::2::2
> catos.router.name community --ifref=name --snmp-options=:::2::2
>
> Best regards,
>
> Pavel Ruzicka

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