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
Folder Sizes on Windows
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Folder Sizes on Windows
I believe this plugin can do what you are looking for
http://exchange.nagios.org/directory/Pl ... bs/details
http://exchange.nagios.org/directory/Pl ... bs/details
-
intelXIadmin
- Posts: 65
- Joined: Mon Mar 25, 2013 9:10 am
Re: Folder Sizes on Windows
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.
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Folder Sizes on Windows
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.