Xymon Mailing List Archive search

xymon file size checking

list Jeremy Laidman
Fri, 20 Feb 2015 14:32:15 +1100
Message-Id: <CAAnki7BUxad==q6p=user-25d67bcd4806@xymon.invalid>

On 20 February 2015 at 13:29, <user-a23a3b28d7cd@xymon.invalid> 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