[mrtg] Re: .cfg file issue

Jeroen.vanGeem at BAKERNET.com Jeroen.vanGeem at BAKERNET.com
Thu Feb 13 09:18:32 MET 2003


Hello,

What I was trying to create was the following:

I wanted to monitor every interface (24) on every switch (30) in our network
in such a way, that when a new PC/printer is connected to a switch, the
graphs will automatically show up after 5 minutes.

But that's really impossible to accomplish? To create a .cfg file that also
creates entries for non active ports so that when they become active, the
graphs will show.

-----Original Message-----
From: Bhupesh Devgun [mailto:bhupesh.devgun at india.birlasoft.com]
Sent: donderdag 13 februari 2003 9:17
To: Jeroen.vanGeem at BAKERNET.com; Eric.Brander at ACS-INC.com;
mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: .cfg file issue


Hi 
    When you make mrtg.cfg ,it will poll only for active interfaces .
What I would suggest is that if you are using a small switch ,active all the
ports and the generate mrtg.cfg .
My personal suggestion is that you should not monitor all the ports ,monitor
only where servers are connected or other network equipments .
Regards
Bhupesh



-----Original Message-----
From: Jeroen.vanGeem at BAKERNET.com [mailto:Jeroen.vanGeem at BAKERNET.com]
Sent: Thursday, February 13, 2003 1:35 PM
To: Eric.Brander at ACS-INC.com; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: .cfg file issue



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

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