[mrtg] .cfg file issue

Jeroen.vanGeem at BAKERNET.com Jeroen.vanGeem at BAKERNET.com
Wed Feb 12 17:59:27 MET 2003


Hello all,

I'm having a problem creating .cfg files in a Win32 enviroment that includes
all interfaces of a switch. 
But after I created the .cfg file, the inactive ports are all labeled with
'#' signs as inactive. Trying to remove those signs in notepad and
restarting doens't show any graph when I 'activate' a port (connecting to a
pc and start downloading stuff).

Anybody an idea? I tried to work with if statements, but they don't seem to
work either.

Original line:
perl cfgmaker bla at ip_adres --global "WorkDir: c:\inetpub\wwwroot\switch"
--output switch.cfg

Experimental 'If statement' line: :-)
perl cfgmaker --output switch.cfg bla at ip_adres --if-filter=$if_admin &&
$default_iftype --global "WorkDir: c:\inetpub\wwwroot\switch"

It says then: '$default_iftype' is not recognized as an internal or external
command, operable program or batch file.


Any help is appreciated!

Tnx in advance,

Jeroen

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