[Xymon] xymon file size checking

martin.wojak at delwp.vic.gov.au martin.wojak at delwp.vic.gov.au
Fri Feb 20 06:16:35 CET 2015


Yes, that what I thought too.  But since moving to the xymonclient.ps1, 
the FILE bits in analysis.cfg file is ignored... 

Martin.



From:   Jeremy Laidman <jlaidman at rebel-it.com.au>
To:     martin.wojak at delwp.vic.gov.au, 
Cc:     "xymon at xymon.com" <xymon at xymon.com>
Date:   20/02/2015 02:32 PM
Subject:        Re: [Xymon] xymon file size checking



On 20 February 2015 at 13:29, <martin.wojak at delwp.vic.gov.au> wrote:
I use dirsize and it works great for directories, but can't find a file 
size checker? 

According to the PS client documentation, "same as standard 
client-local.cfg".  So define the "file:" entry the same as "dirsize", 

file:/name/of/file

and then on your Xymon server in analysis.cfg, set your threshold, 
something like:

FILE /name/of/file SIZE>10M yellow
FILE /name/of/file SIZE>1G red

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150220/d5a99cbb/attachment.html>


More information about the Xymon mailing list