[mrtg] Re: Directory issues
grendel at interq.ad.jp
Wed Sep 26 15:52:00 MEST 2001
All occurences of mkdir are in the MRTG_lib.pm module, within the
cfgcheck subprocedure. From the bin directory where you have the mrtg
Perl script, go up one directory, then down into lib and then mrtg2.
Cfgcheck is called from indexmaker and mrtg.
However Directory does not generally contain a full path. Don't forget
the WorkDir directive.
"Daniel R . Kilbourne" wrote:
> Can someone shed some light as to how mrtg creates the directories specified
> in the Directory statement?
> I need mrtg to be able to create directories more than one level deep, but
> Looking through the mrtg script I cannot find where directories are created
> when called via the Directory statement.
> Basically, I need this:
> If I have this:
> Directory[host]: /home/httpd/html/data/host
> and /home/httpd/html/data does not exist, I want mrtg to be able to:
> create /home/httpd/html/data
> create /home/httpd/html/data/host
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg