[mrtg] Re: A noobie Question!!

Tony Stevenson tony at pc-tony.com
Mon Mar 29 03:01:56 MEST 2004


I clicked the wrong bloody button. I cannot wait for my new Linux
desktop.get rid of this MS Junk!




/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/

/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/

/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/

/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/



When this is run, it only produces output for the first device.  All of the
CFG files were made with cfgmaker,

All of these routers have exactly the same config, except the IP Information
is different.


I am confused.  If I add a shebang to the script it fails.  If I add a shell
(such as  /bin/sh) at the start of the line then MRTG throws up all sorts of
wonderful errors.]
I have commented out the majority of my configs to enable me to test this
setup much more quickly..


Any help is greatly appreciated..




OS : Debian (Woody)

MRTG : 2.10.13

Perl : 5.6.1



Please, I have very few hairs left now!!!




Many Thanks




From: Tony Stevenson [mailto:tony at pc-tony.com] 
Sent: 29 March 2004 01:56
To: 'mrtg at list.ee.ethz.ch'
Subject: A noobie Question!!


Hi All,


As the subject kinda suggests I am new to MRTG (although have enjoyed the
graphs for years) - This is the first time that I have installed and
configured it.

I have what I think is probably a simple solution, but I cannot find an




I cannot get MRTG to run with Multiple CFG files.  I want to use multiple
CFG files, for a few reasons.


Firstly I will be monitoring in excess of 5000 routers, and would like to
categorise them. Also MRTG will be running on a 8 Processor box, and would
like to run separate processes on a few CPU's.

A 5000 router CFG file is rather large and takes bloody long time to


What I want to do is have a single script that is executed via CRON, (or Run
as a Daemon if that is better. comments???) this script will run through all
these separate CFG files. 

At the moment the file looks like the one below, just a lot longer ;-)



/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/

/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/






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