Looking for the best approach to Windows drive monitoring
Posted: Wed Apr 22, 2015 10:45 am
Hello,
Currently we are monitoring the Windows disks in our environment using the following command:
This command works great in that it polls all drives on the host, and raises alerts as one would expect. However, the issue we face is this alert does nothing (nor should it) to detect if a drive suddenly goes missing. If iSCSI flips out and suddenly poor L drive is no more, this check simply shows the drives that still are presented and nothing (for it) is amiss.
On the flip side, I could manually monitor each disk on each server via individual services which would detect such failures. However, this option doesn't scale well, and requires manual intervention to make sure that it stays current.
Is there a better option? One that keeps the ease of disk checking down to a single boilerplate service check, but maybe some other means of being able to detect when a drive goes offline?
Currently we are monitoring the Windows disks in our environment using the following command:
Code: Select all
define command{
command_name check-nrpe-win-drive-free
command_line /usr/lib/nagios/plugins/check_nrpe -H $ARG1$ -c checkdrivesize -a ShowAll "FilterType=FIXED" CheckAll "MinWarnFree=$ARG2$" "MinCritFree=$ARG3$"
}On the flip side, I could manually monitor each disk on each server via individual services which would detect such failures. However, this option doesn't scale well, and requires manual intervention to make sure that it stays current.
Is there a better option? One that keeps the ease of disk checking down to a single boilerplate service check, but maybe some other means of being able to detect when a drive goes offline?