[Xymon] Monitoring file size on Windows with PowerShell client

Colin Coe colin.coe at gmail.com
Wed Mar 30 05:11:23 CEST 2016


Hi all

I'm trying to monitor a couple of files on a bunch of Windows clients.

/etc/xymon/analysis.cfg
HOST=%winclnt.*
        FILE C:\users\user.domain\Documents\Timing.log       SIZE>500M
yellow
        FILE C:\users\user.domain\Documents\Timing.log       SIZE>1G red
        FILE C:\users\user.domain\Documents\Trace.log        SIZE>500M
yellow
        FILE C:\users\user.domain\Documents\Trace.log        SIZE>1G red

/etc/xymon/client-local.cfg
file:C:\users\user.domain\Documents\Timing.log   SIZE>1G red
file:C:\users\user.domain\Documents\Trace.log    SIZE>500M yellow

Looking at the man page for client-local.cfg, its colon (:) delimited.  How
do I specify the file path for Windows clients?

Thanks

CC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160330/b5a0a9de/attachment.html>


More information about the Xymon mailing list