This is the line from hobbit-clients.cfg that works:<br>  DIR /u01/app/oracle/diag/tnslsnr/stmmdb2/listener/alert/RED SIZE<20100100100 TRACK<br><br>I don't have a corresponding client-local.cfg due to our environment<br>
<br>--Patrick<br><br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 10:08 AM, Johan Sjöberg <span dir="ltr"><<a href="mailto:johan.sjoberg@deltamanagement.se">johan.sjoberg@deltamanagement.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">When I read that man-page, I understand it as du is always run on the directory that is specified in dir:DIRECTORYNAME<br>

<br>
So you should only add this to the correct host in client-local.cfg.<br>
dir:/var/adm<br>
<br>
<br>
>From the man-page:<br>
"A directory monitoring entry is used to watch the size of a directory and any sub-directories. It looks like this:<br>
<br>
<br>
    dir:DIRECTORYNAME<br>
<br>
The dir:DIRECTORYNAME line defines the filename of the file to monitor. As with the "log:" entries, a filename enclosed in backticks means a command which will generate the filenames dynamically. The Xymon client will run the du(1) command with the directoryname as parameter, and send the output back to the Xymon server."<br>

<font color="#888888"><br>
/Johan<br>
</font><div><div></div><div class="h5"><br>
> -----Original Message-----<br>
> From: Martin Flemming [mailto:<a href="mailto:martin.flemming@desy.de">martin.flemming@desy.de</a>]<br>
> Sent: den 16 september 2010 15:44<br>
> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> Subject: RE: [xymon] monitor a directory size<br>
><br>
><br>
> You've have to add<br>
><br>
> dir:`du -k /var/adm`<br>
><br>
> in your client-local.cfg ...<br>
><br>
> then you've got hte size of your directory<br>
> <a href="https://it-xymon3.desy.de/xymon/help/manpages/man5/client-" target="_blank">https://it-xymon3.desy.de/xymon/help/manpages/man5/client-</a><br>
> local.cfg.5.html<br>
><br>
> cheers,<br>
>       martin<br>
><br>
> On Thu, 16 Sep 2010, Johan Sjöberg wrote:<br>
><br>
> > I don't understand exactly what you mean, but you need to add it both to<br>
> client-local.cfg and to hobbit-clients.cfg. Both these files are located on the<br>
> Xymon server. Client-local.cfg tells the client to send information about that<br>
> directory to the Xymon server, and hobbit-clients.cfg tells the server what<br>
> to alert on in that information.<br>
> ><br>
> > /Johan<br>
> ><br>
> >> -----Original Message-----<br>
> >> From: Kevin Kelly [mailto:<a href="mailto:kkelly@lifetouch.com">kkelly@lifetouch.com</a>]<br>
> >> Sent: den 16 september 2010 15:08<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: RE: [xymon] monitor a directory size<br>
> >><br>
> >> I did add it to client-local.cfg on the client server, is client-local.cfg a<br>
> different<br>
> >> file?<br>
> >><br>
> >> -----Original Message-----<br>
> >> From: Johan Sjöberg [mailto:<a href="mailto:johan.sjoberg@deltamanagement.se">johan.sjoberg@deltamanagement.se</a>]<br>
> >> Sent: Thursday, September 16, 2010 7:47 AM<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: RE: [xymon] monitor a directory size<br>
> >><br>
> >> Have you added it to client-local.cfg as well?<br>
> >><br>
> >> /Johan<br>
> >><br>
> >> -----Original Message-----<br>
> >> From: Kevin Kelly [mailto:<a href="mailto:kkelly@lifetouch.com">kkelly@lifetouch.com</a>]<br>
> >> Sent: den 16 september 2010 14:40<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: RE: [xymon] monitor a directory size<br>
> >><br>
> >> Still nothing!<br>
> >><br>
> >> -----Original Message-----<br>
> >> From: Williams, Doug (Consultant-RIC)<br>
> [mailto:<a href="mailto:Doug.Williams@dexone.com">Doug.Williams@dexone.com</a>]<br>
> >> Sent: Wednesday, September 15, 2010 4:31 PM<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: RE: [xymon] monitor a directory size<br>
> >><br>
> >> You need to reverse  SIZE>10m to SIZE<10m  if wanting to alert if greater<br>
> than<br>
> >> 10m.<br>
> >><br>
> >><br>
> >> -----Original Message-----<br>
> >> From: Kevin Kelly [mailto:<a href="mailto:kkelly@lifetouch.com">kkelly@lifetouch.com</a>]<br>
> >> Sent: Wednesday, September 15, 2010 3:32 PM<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: RE: [xymon] monitor a directory size<br>
> >><br>
> >> That had no effect!<br>
> >><br>
> >><br>
> >><br>
> >> From: <a href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a> [mailto:<a href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a>] On Behalf<br>
> Of<br>
> >> Steve Holmes<br>
> >> Sent: Wednesday, September 15, 2010 8:59 AM<br>
> >> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> >> Subject: Re: [xymon] monitor a directory size<br>
> >><br>
> >><br>
> >><br>
> >> On Wed, Sep 15, 2010 at 9:51 AM, Kevin Kelly <<a href="mailto:kkelly@lifetouch.com">kkelly@lifetouch.com</a>><br>
> >> wrote:<br>
> >><br>
> >>    I am trying to use the DIR in hobbit-client.cfg, but not having<br>
> >> any luck. Does anyone use this?<br>
> >><br>
> >><br>
> >><br>
> >>    Xymon server- hobbit-client.cfg<br>
> >><br>
> >>    Syntax that I used:<br>
> >><br>
> >>    DIR         /var/adm  yellow SIZE>10m track<br>
> >><br>
> >><br>
> >><br>
> >>    Client- localclient.cfg<br>
> >><br>
> >>    DIR /var/adm<br>
> >><br>
> >><br>
> >><br>
> >>    Any suggestions?<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> Try putting the word yellow after the SIZE>10m.<br>
> >><br>
> >><br>
> >><br>
> >> Steve<br>
> >> --<br>
> >><br>
> >> Truth never damages a cause that is just. -Mohandas Karamchand Gandhi<br>
> >> (1869-1948)<br>
> >><br>
> >><br>
> >> __________________________________________________________<br>
> >> ____________<br>
> >> This email has been scanned by the MessageLabs Email Security System.<br>
> >> For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a><br>
> >> __________________________________________________________<br>
> >> ___________<br>
> >><br>
> >><br>
> >> To unsubscribe from the xymon list, send an e-mail to<br>
> >> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
> >><br>
> >><br>
> >><br>
> >> __________________________________________________________<br>
> >> ____________<br>
> >> This email has been scanned by the MessageLabs Email Security System.<br>
> >> For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a><br>
> >> __________________________________________________________<br>
> >> ___________<br>
> >><br>
> >> To unsubscribe from the xymon list, send an e-mail to<br>
> >> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
> >><br>
> >><br>
> >><br>
> >> To unsubscribe from the xymon list, send an e-mail to<br>
> >> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
> >><br>
> >><br>
> >><br>
> >> __________________________________________________________<br>
> >> ____________<br>
> >> This email has been scanned by the MessageLabs Email Security System.<br>
> >> For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a><br>
> >> __________________________________________________________<br>
> >> ___________<br>
> >><br>
> >> To unsubscribe from the xymon list, send an e-mail to<br>
> >> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
> >><br>
> ><br>
> ><br>
> > To unsubscribe from the xymon list, send an e-mail to<br>
> > <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
> ><br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</div></div></blockquote></div><br>