[mrtg] Working with a template.

Drew Weaver drew.weaver at thenap.com
Tue Jan 28 20:20:30 MET 2003


	Hi, I am currently trying to get a template to work that will pull
the names of my interfaces off of my Extreme Black Diamond and use those
names instead of 1001 1002 1003 1004 for the 'displayed' names inside MRTG,
this is the commandline I used with config maker:

./cfgmaker --global 'WorkDir: /home/httpd/mrtg/' --global 'IconDir: /icons/'
--global 'Options[_]: growright,bits' --global
--if-template=/usr/local/mrtg-2/bin/template removed at removed.com --output
/usr/local/mrtg-2/config/removed/mrtg.cfg

The file /usr/local/mrtg-2/bin/template does exist, but when I try and start
mrtg via mrtg mrtg.cfg I get :

ERROR: Line 21 (--if-template=/usr/local/mrtg-2/bin/template) in CFG file
(mrtg.cfg)  does not make sense

In the help page for cfgmaker it says that --if-template= is the correct way
to call a template.

Any clue would be most helpful,thanks ;-)

-Drew

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