[mrtg] Re: ./mrtg problems

Morten S. Nielsen msn at ipt.dtu.dk
Thu Jan 27 18:11:39 MET 2000


On Thu, 27 Jan 2000, Stieers, Ken wrote:

> Johnny, 
> 
> Do you mean on their own web site?   You could write a cfg file for each
> server park and then add a line to your crontab for each park.  i.e.
> 
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * <mrtg-bin>/mrtg <path to
> mrtg-cfg>/park1.cfg
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * <mrtg-bin>/mrtg <path to
> mrtg-cfg>/park2.cfg
> 
> etc. 

I took the liberty of answering in danish, and the suggested solution
works ok... mine is almost identical except that i suggested to make the 
calls in a script like

#!/bin/sh
cd /usr/local/mrtg
./mrtg ./park1.conf >> park1.log 2>&1 &
./mrtg ./park2.conf >> park2.log 2>&1 &
  :
  :

The problem was that the mrtg was running some ping probes, which took
6-7 minutes, and in the meantime cron started a new round of mrtg, which
fucked up the total system..

> 
> Make each cfg file reference a different directory, then you could add each
> one of those as directories of different web sites. 
> 

Servicepack SR12 for NT. Available at www.linux.org

--    Morten S. Nielsen    mailto:msn at ipt.dtu.dk
--
--  |   Linux - the choice of a GNU generation   |
--  |      Skaane Sjaelland Linux User Group     |
--  |         at http://www.sslug.dk             |



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list