[mrtg] Re: Multiple WorkDir in One Config?

Steve Rowe steve.rowe at sheridanc.on.ca
Mon Oct 29 21:57:24 MET 2001


Although I haven't tried it myself, this might work:

Specify a root Working Directory at the top of the .cfg.  Then specify a 
Directory tag with the global option before the section for each device.

WorkDir: /home/httpd/html/mrtg/

Directory[_]: router1
.
. [router1 targets]
.
Directory[_]: router2
.
. [router2 tragets]
.

This should put the router1 targets in the subdirectory "router1".  The 
next Directory[_] tag should modify the subdirectory so that router2 
targets end up in subdirectory "router2".

Does this sound right?

Steve



At 10/29/01 - 03:44 PM, Hunt, Jim wrote:

>I currently have 8 separate config files that use a different directory for
>the generated files.  I would like to combine all the config files into one
>master config file but keep the separate directories.  Is this possible?
>
>Jim
>
>--
>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

-
/ __|______| _ \___________________________________________________________
\__ \      |   /                       Network Analyst - Data Systems Group
____/TEVE  |_|_\OWE               Information Technology - Sheridan College
                                     Trafalgar Campus - Oakville, ON, Canada
steve.rowe at sheridanc.on.ca                                         ./\.
Phone: 905-845-9430 x2032       ICQ:                            _|\|  |/|_
http://numb.sheridanc.on.ca   14509731                          \        /
_________________________________________________________________>______<__
Make something idiot proof and someone will make a better idiot.    /


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