<br /><br />On Jan 8, 2010, <a class="parsedEmail" href="mailto:dag@bakke.com" target="_blank">dag@bakke.com</a> wrote: <br />> <br />> On Jan 7, 2010, Daniel J McDonald <<a class="parsedEmail" href="mailto:dan.mcdonald@austinenergy.com" target="_blank">dan.mcdonald@austinenergy.com</a>> wrote:<br />> <br />> > On Thu, 2010-01-07 at 08:51 +0000, <a class="parsedEmail" href="mailto:dag@bakke.com" target="_blank">dag@bakke.com</a> wrote:<br />> > > Bottom line first:<br />> > > I have multiple mrtg cfg files. With (potentially) separate WorkDirs.<br />> ><br />> > Better to use a common workdir with the Directory[] attribute on each<br />> > target.<br />> <br />> Ah! Thank you so much. It never occured to me that this was handled by a per-target attribute.<br />> This is exactly what I was looking for. Works as expected.<br />> <br /><br />... or almost, anyway.<br /><br /><br />1.<br />I'd like to use multiple levels of subdirectories. Getting mrtg-rrd to list subdirs to the root dir works well, but subdirs of subdirs are never listed.<br />Is mrtg-rrd unable to handle this?<br /><br />The syntax I use is something like this:<br /><br /><br />Directory[_]: network/router1<br />Title[_]: router1<br />Target[router1]: public@router1<br /><br />Directory[_]: network/router2<br />Title[_]: router2<br />Target[router2]: public@router2<br /><br />mrtg appears happy with this. mrtg-rrd less so, returning 'Error: Undefined statistics'.<br />Dropping the 'network/' bit of the path makes mrtg-rrd happy. But me less so...<br /><br /><br />2.<br />In addition, I'd like to use the Clonedirectory attribute. This appears unsuccessful no matter what I do.<br />Is it incompatible with either<br />RunAsDaemon: Yes<br />or<br />LogFormat: rrdtool<br />?<br /><br />I believe I have satisfied all the prerequisites to use Clonedirectory.<br />- using Directory<br />- made the Clonedirectory directory by hand and made it writeable for the relevant user<br />- installed the File::Copy perl module<br /><br />It is also stated that the Clonedirectory dir must be 'relative', but not to what. It makes no difference if I make it relative to / or to the Directory dir.<br /><br /><br />3. <br />It looks as if Clonedirectory is not understood by mrtg-rrd. Can someone confirm that?<br /><br />