Steve,

Your template routers2.tp worked perfectly. Thanks for all your help with this.... I appreciate it.

-Patrick

--------------------------------

Steve Shipway wrote:

You should probably use a cfgmaker template that will use the alias if available, else the description, and so on -- as some of your aliases are blank you'll need alternatives. I've submitted a patch for cfgmaker to Tobi that allows you to specify multiple things in the --ifdesc and --ifref in order of preference, which should help, but until this goes live you'll need to do it with a cfgmaker template. Take a look at some of the ones in the library at http://www.steveshipway.org/forum/viewforum.php?f=34

Steve

------------------------------------------------------------------------

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Patrick Topping
*Sent:* Saturday, 11 October 2008 07:01
*To:* Brian A. Seklecki
*Cc:* [email protected]
*Subject:* Re: [mrtg] cfgmaker & Foundry routers

Brian,

Below is the ifAlias section of the MIB:

[EMAIL PROTECTED] mrtg]# snmpwalk -c ubaVcj8PYF -v 2c fsigt-001-eqla3.stk ifAlias
IF-MIB::ifAlias.65 = STRING:
IF-MIB::ifAlias.66 = STRING:
IF-MIB::ifAlias.193 = STRING: fstgt-002-eqla3-ethe4/1
IF-MIB::ifAlias.194 = STRING: fstgt-002-eqla3-ethe4/2

I have tried '--ifdesc alias' and I get the same output.  Any thoughts?

-Patrick

---------------------------------------



Brian A. Seklecki wrote:

cfgmaker --output=/etc/mrtg/XXXXX.cfg--global "workdir: /var/www/mrtg/rrd" --ifref=descr --ifdesc=descr --global 'op
tions[_]: growright,bits' [EMAIL PROTECTED]:::::2 --no-down
what does snmpwalk on the if mib look like? ~BAS
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to