[Xymon] Monitoring empty directory

Bert Willekens bert.willekens at medialaan.be
Tue Mar 1 10:19:39 CET 2016


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>



More information about the Xymon mailing list