Page 1 of 1

Monitoring free disk space in Windows

Posted: Tue Aug 23, 2011 3:49 am
by fao
We'd like to set an alert in order to be notified when free disk space on a Windows drive reaches 300 MB.
Is there a way to modify the check_nt command to accomplish this or another plug-in?

Re: Monitoring free disk space in Windows

Posted: Tue Aug 23, 2011 4:57 pm
by agriffin
You can accomplish this using check_nrpe instead of check_nt by following the docs here and here (in particular, the example commands are very helpful).

Let me know if you run into any trouble following that documentation.

Re: Monitoring free disk space in Windows

Posted: Thu Aug 25, 2011 10:01 am
by pnewlon
we are using windows snmp with informant-std to query processor, disk, memory

http://www.wtcs.org/informant/download.htm

check_snmp -H $HOSTADDRESS$ $ARG1$ -o .1.3.6.1.4.1.9600.1.1.1.1.20.6.95.84.111.116.97.108 -C private -P 1 -l "DiskFreeSpace" -u "Megabytes" -m INFORMANT-STD -w 10000: -c 5000:

Image

Re: Monitoring free disk space in Windows

Posted: Thu Aug 25, 2011 10:17 am
by nscott
pnewlon,

It looks like you've a large Windows environment. Do you use WMI at all for it?

Re: Monitoring free disk space in Windows

Posted: Thu Aug 25, 2011 11:02 am
by pnewlon
For PCI security reasons, we are not permitted to use WMI so we are using SNMP. From a traffic over the WAN perspective, SNMP is much more gentle on the pipes too. The Informant MIB is an extension of the standard Windows MIB. The installer is (can be) quiet and very small.

Re: Monitoring free disk space in Windows

Posted: Thu Aug 25, 2011 11:19 am
by nscott
pnewlon,

Thanks for the input, any time I can get real world reasons, it makes me happy.

Re: Monitoring free disk space in Windows

Posted: Thu Aug 25, 2011 11:46 am
by pnewlon
My pleasure! I like to be able to help at least a little!