Page 1 of 1

Folder Sizes on Windows

Posted: Mon Jul 14, 2014 1:15 pm
by intelXIadmin
I can't seem to find much about monitoring a particular folder on a Windows system, such as c:\work for size. Is there a simple method of doing this?

Regards,

Randy

Nagios XI 2012R2.7
Redhat 6.4

Re: Folder Sizes on Windows

Posted: Mon Jul 14, 2014 1:31 pm
by scottwilkerson
I believe this plugin can do what you are looking for
http://exchange.nagios.org/directory/Pl ... bs/details

Re: Folder Sizes on Windows

Posted: Mon Jul 14, 2014 2:03 pm
by intelXIadmin
oops, I just found out my users want more that just size warnings:

I need to know if a folder has increased by x megabytes in y time. So, if c:\work was 1500mb and 1 hr later it increases by 500mg then flag a critical or warning alert.

Regards,

Randy.

Re: Folder Sizes on Windows

Posted: Mon Jul 14, 2014 3:26 pm
by sreinhardt
Well that won't do what you want then. Giving exchange a quick look over, I don't see anything that will do folder size delta for windows. You could make this store the results of the last check in a file and compare them, or rewrite the entire thing in powershell(my preference) and do it in a more sane manor to handle the deltas as well.