Sorry. 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/10.0.0.1.cfg /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/10.0.0.2.cfg /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/10.0.0.3.cfg /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/10.0.0.4.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.. BTW> OS : Debian (Woody) MRTG : 2.10.13 Perl : 5.6.1 Please, I have very few hairs left now!!! Many Thanks Tony _____ From: Tony Stevenson [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 01:56 To: '[EMAIL PROTECTED]' 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 answer. Problem: 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 process. 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/10.0.0.1.cfg /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/10.0.0.1.cfg -- 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
