[mrtg] cfgmaker & Foundry routers

Steve Shipway s.shipway at auckland.ac.nz
Fri Oct 17 01:24:11 CEST 2008


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: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Patrick Topping
Sent: Saturday, 11 October 2008 07:01
To: Brian A. Seklecki
Cc: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] cfgmaker & Foundry routers

Brian,

Below is the ifAlias section of the MIB:

[root at bandit 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' XXXX at XXXXXX:::::2 --no-down





what does snmpwalk on the if mib look like?



~BAS






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081017/f1292f0a/attachment.html 


More information about the mrtg mailing list