<font size=2 face="sans-serif">Yes, that what I thought too.  But
since moving to the xymonclient.ps1, the FILE bits in analysis.cfg file
is ignored...  </font>
<br>
<br><font size=2 face="sans-serif">Martin.</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Jeremy Laidman <jlaidman@rebel-it.com.au></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">martin.wojak@delwp.vic.gov.au,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:      
 </font><font size=1 face="sans-serif">"xymon@xymon.com"
<xymon@xymon.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">20/02/2015 02:32 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [Xymon]
xymon file size checking</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>On 20 February 2015 at 13:29, <</font><a href=mailto:martin.wojak@delwp.vic.gov.au target=_blank><font size=3 color=blue><u>martin.wojak@delwp.vic.gov.au</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 face="sans-serif">I use dirsize and it works great for
directories, but can't find a file size checker?</font><font size=3> </font>
<br><font size=3><br>
According to the PS client documentation, "same as standard client-local.cfg". 
So define the "file:" entry the same as "dirsize", </font>
<br>
<br><font size=3>file:/name/of/file</font>
<br>
<br><font size=3>and then on your Xymon server in analysis.cfg, set your
threshold, something like:</font>
<br>
<br><font size=3>FILE /name/of/file SIZE>10M yellow</font>
<br><font size=3>FILE /name/of/file SIZE>1G red</font>
<br>
<br><font size=3>J</font>
<br>