Xymon Mailing List Archive search

Monitoring file size on Windows with PowerShell client

list Colin Coe
Wed, 30 Mar 2016 11:11:23 +0800
Message-Id: <user-48335ba858df@xymon.invalid>

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