Monitoring Mountpoints without Driveletter

Hello,

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.

See screenshots for more context.


not with the standard plugin, so if this is something interesting you could properly open a feature request on github

Can you try to use Invoke-IcingaCheckUNCPath?

2 Likes

With NRPE I used to adress the mountpoint in this way in my service definition.

vars.mountpoint_drive = “Drive:LUN1-NAS-L-SAN3-lv0001=E:\LUN1”

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.

Regards
Peer-Mario

Is it the same requirement as in this issue?
https://github.com/Icinga/icinga-powershell-plugins/issues/417

looks like the same issue but but it works with @bberg approach using

Invoke-IcingaCheckUNCPath

2 Likes