Try option --show-op-down on your cfgmaker command line.

Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric dot Brander at acs-inc dot com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 10:59 AM
To: [EMAIL PROTECTED]
Subject: [mrtg] .cfg file issue



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 [EMAIL PROTECTED] --global "WorkDir: c:\inetpub\wwwroot\switch"
--output switch.cfg

Experimental 'If statement' line: :-)
perl cfgmaker --output switch.cfg [EMAIL PROTECTED] --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:[EMAIL PROTECTED]
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

--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to