Monitoring NTFS diskspace with Nagios
After struggling for a while on how to get alerts from nagios when the diskspace on a Microsoft Windows server runs low, i decided to write a simple shell script.
Requirements:
- A server running linux with Nagios installed (tested on Ubuntu 10.4.3 LTS with Nagios 3.3.1)
- snmputils installed (the script uses snmpwalk and snmpget)