[mrtg] Trouble with cfgmaker & --no-down/--show-op-down

Jack Vande Bunte jvb at swmich.edu
Fri May 9 22:01:09 MEST 2003


I'm using cfgmaker to generate some config files for some Extreme Networks
Alpine 3800's (supported I see) and having a little trouble with some
interfaces. (btw: using mrtg-2.9.29, latest rrdtool on linux 2.4 kernel)

My cfgmaker command line:

cfgmaker --ifdesc=descr --global 'LogFormat: rrdtool' \
--global 'WorkDir: /usr/local/apache/htdocs/mrtg/test' \
--global 'Options[_]: bits,growright' --no-down --show-op-down \
--output /usr/local/apache/htdocs/mrtg/test/test.cfg \
public at ip.of.switch

The problem I am having is that in the generated config file, many ports are
commented out because of:

### Interface 4010 >> Descr: 'Alpine3808/FM32T-Port-4:10' | Name: '4/10' |
Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#

The reason the port has a speed of 0 is that the port is not active
(computer may be turned off) at this moment. That same port could be active
in the future, so I'd like to still have the option of seeing it. (which is
why I specified --no-down and --show-op-down)

So, my question is: How can I avoid cfgmaker commenting these ports out if
'--no-down' and '--show-op-down' aren't doing the trick? I suspect maybe
using '--if-filter' but I can't seem to find a filter for port speed in the
documentation. Any help other than "go through the config and uncomment
them" would be appreciated.

---
jvb at swmich.edu |-O-| Jack Vande Bunte
Network Specialist
Southwestern Michigan College
Voice: 269-782-1231 Fax: 269-783-2119

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