Monitoring free disk space in Windows

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Monitoring free disk space in Windows

Post 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?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Monitoring free disk space in Windows

Post 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.
pnewlon
Posts: 86
Joined: Mon May 16, 2011 2:19 pm

Re: Monitoring free disk space in Windows

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Monitoring free disk space in Windows

Post by nscott »

pnewlon,

It looks like you've a large Windows environment. Do you use WMI at all for it?
Nicholas Scott
Former Nagios employee
pnewlon
Posts: 86
Joined: Mon May 16, 2011 2:19 pm

Re: Monitoring free disk space in Windows

Post 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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Monitoring free disk space in Windows

Post by nscott »

pnewlon,

Thanks for the input, any time I can get real world reasons, it makes me happy.
Nicholas Scott
Former Nagios employee
pnewlon
Posts: 86
Joined: Mon May 16, 2011 2:19 pm

Re: Monitoring free disk space in Windows

Post by pnewlon »

My pleasure! I like to be able to help at least a little!
Locked