[mrtg] (silly) include question

McDonald, Dan Dan.McDonald at austinenergy.com
Mon Nov 1 21:21:13 CET 2010

On Nov 1, 2010, at 3:06 PM, "Steve Shipway" <s.shipway at auckland.ac.nz> wrote:

>> in an MRTG conf file, shouldn't "WorkDir" be inherited in included files
>> (if there's no "WorkDir" in these included files)?
> Err, I think it *is*, isn't it?  In fact, I set WorkDir in an included file, and it applies to everything.

Yes. The parser only accepts the last entry it reads. If you want to put images in different directories, use the subdir per-target directive. 

More information about the mrtg mailing list