[mrtg] Re: .cfg file issue

Jeroen.vanGeem at BAKERNET.com Jeroen.vanGeem at BAKERNET.com
Thu Feb 13 09:05:16 MET 2003


I already tried that one, unfortunately without succes.

All inactive interfaces are still being marked with '#' signs, started with
this comment:

### The following interface is commented out because:
### * it is operationally DOWN
### * has a speed of 0 which makes no sense

-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: woensdag 12 februari 2003 19:09
To: 'Jeroen.vanGeem at BAKERNET.com'; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] .cfg file issue


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: Jeroen.vanGeem at BAKERNET.com [mailto:Jeroen.vanGeem at BAKERNET.com]
Sent: Wednesday, February 12, 2003 10:59 AM
To: mrtg at list.ee.ethz.ch
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 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

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