[mrtg] Re: Can you split up the output (workdir) over multiple sub-directories?
René Møller
rem at dontcare.adsl.dk
Thu Sep 20 01:49:34 MEST 2001
>
> Where in the config would I put the individual WorkDir path?
>
Check the config ref at
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html
Have a look under "optional per target parameters".
Ok, I'll paste it here...
Directory
By default, mrtg puts all the files that it generates for each target
(the GIFs, the HTML page, the log file, etc.) in WorkDir.
If the Directory option is specified, the files are instead put into a
directory under WorkDir or Log-, Image- and HtmlDir). (For example the
Directory option below would cause all the files for a target ezwf to be
put into directory /usr/tardis/pub/www/stats/mrtg/ezwf/ .)
The directory must already exist; mrtg will not create it.
Example:
WorkDir: /usr/tardis/pub/www/stats/mrtg
Directory[ezwf]: ezwf
NOTE: the Directory option must always be 'relative' or bad things will
happen.
/Rene Moeller
--
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