[mrtg] Re: config for multiple directories

Paul C. Williamson pwilliamson at mandtbank.com
Fri Oct 5 20:41:11 MEST 2001


In each target, just put a Directory[]: whatever tag. 

I think you may actually be able to put a Directory[_]: whatever at the 
top of each Include file rather than for each target within each device.

Paul

>>> Aldo Salinas <aesalinas at plant.pp.panam.edu> 10/05/01 02:27PM >>>

I'm monitoring 2 routers, 2 win2k servers, 1 winnt server, and 2 linux
servers  How can i setup mrtg to have different working directories, to keep
everything cleaner.  Right Now all my files are on /var/www/html/mrtg/ it is
very messy right now.

Can someone help me to were i can have something like this, if possible:
/var/www/html/mrtg/router1
/var/www/html/mrtg/router2
/var/www/html/mrtg/win2k1
/var/www/html/mrtg/win2k2
/var/www/html/mrtg/winnt1
/var/www/html/mrtg/linux1
/var/www/html/mrtg/linux2

i have the main.cfg file that has
Include: /usr/local/mrtg-2/global.cfg
Include: /usr/local/mrtg-2/config1.cfg
Include: /usr/local/mrtg-2/config2.cfg
Include: /usr/local/mrtg-2/config3.cfg
WriteExpires: Yes
RunAsDaemon: Yes

i have a global.cfg that has 
HtmlDir: /var/ww/html/mrtg
ImageDir: /var/www/html/mrtg/images
LogDir: /var/www/html/mrtg/logs

It all works fine but I need to sort out all  my files into different
directories

CAN SOMEONE HELP ME OUT HERE.

Aldo E. Salinas


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