Xymon Mailing List Archive search

Monitoring empty directory

list Bert Willekens
Tue, 1 Mar 2016 09:19:39 +0000
Message-Id: <user-2367061580c7@xymon.invalid>

Hi

When I monitor a directory for file size I get " Could not determine size of directory" when it's empty.
For me it's no problem that the directory is empty, I just want to TRACK the size of the directory.
The directory is being cleaned automatically so I can't place a 1 KiB file there.

How can I prevent the test from turning yellow?

The configuration is as follows:

++ client-local.cfg
[server.example.com]
DIR:I:\watchfolder

++ analysis.cfg
HOST=server.example.com
DIR I:\watchfolder TRACK

++ client data
[dir:I:\watchfolder]
0       I:\watchfolder

++ files test
&yellow I:\watchfolder
Could not determine size of directory I:\watchfolder

Thanks

--
Bert
MEDIALAAN Disclaimer<http://medialaan.be/email>;