# Any luck monitoring the size of Windows directories?

Ribeiro, Glauber glauber.ribeiro at experian.com
Wed Dec 12 18:50:11 CET 2018

This is something that used to work, but I haven't been able to make it work anymore.

I'm running xymon server 4.3.8 (Linux). Windows Powersell client.

I want to flag if the directory d:\tsiback\today becomes too small or too large.

I have, in analysis.cfg:

DIR "%.*tsiback.today\$" red size>5000000 size<50000000 TRACK

Notice I have to use a regexp, because the backslash messes things up.

It's working somewhat, because I see a graph of the directory's size on the server (the "track" is working). But the current data is

[dir:D:\tsiback\today]
558831 D:\tsiback\today

558831 is clearly not larger than 5000000, but the status is still green.

Am I missing anything obvious?

Thanks,

glauber

--
Glauber Ribeiro  -  Experian Automotive
Infrastructure and Information Security
glauber.ribeiro at experian.com
ph +1-224-698-3108