<br /><br />On Jan 8, 2010, <a class="parsedEmail" href="mailto:dag@bakke.com" target="_blank">dag@bakke.com</a> wrote: <br />&gt; <br />&gt; On Jan 7, 2010, Daniel J McDonald &lt;<a class="parsedEmail" href="mailto:dan.mcdonald@austinenergy.com" target="_blank">dan.mcdonald@austinenergy.com</a>&gt; wrote:<br />&gt; <br />&gt; &gt; 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 />&gt; &gt; &gt; Bottom line first:<br />&gt; &gt; &gt; I have multiple mrtg cfg files. With (potentially) separate WorkDirs.<br />&gt; &gt;<br />&gt; &gt; Better to use a common workdir with the Directory[] attribute on each<br />&gt; &gt; target.<br />&gt; <br />&gt; Ah! Thank you so much. It never occured to me that this was handled by a per-target attribute.<br />&gt; This is exactly what I was looking for. Works as expected.<br />&gt; <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 />