[xymon] monitor a directory size

Martin Flemming martin.flemming at desy.de
Thu Sep 16 15:44:09 CEST 2010


You've have to add

dir:`du -k /var/adm`

in your client-local.cfg ...

then you've got hte size of your directory
https://it-xymon3.desy.de/xymon/help/manpages/man5/client-local.cfg.5.html

cheers,
 	martin

On Thu, 16 Sep 2010, Johan Sjöberg wrote:

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


More information about the Xymon mailing list