Is there a way to use Icinga2 with IfW to monitor the storage space usage of mount points in Windows? The mount points do not have drive letters and are not taken into account when the check command is called.
In my command definition for check_nrpe i used this:
“-c” = {
value = “check_filesize”
}
“-drive” = {
skip_key = true
value = “$mountpoint_drive$”
}
I don’t know who do you do your check (with Icinga2 itself or with Nagios- or SNClient) but at least, there is a way to monitor it as the drive can be directly addressed.
I’m sure there would be a way to get the info via WMI as well.