Icinga / icinga-powershell-cluster

A collection of Cluster plugins for the Icinga Powershell Framework
GNU General Public License v2.0
5 stars 1 forks source link

Invoke-IcingaCheckClusterHealth should exclude specific resources #46

Open wp-perc opened 2 years ago

wp-perc commented 2 years ago

Hello,

I am using Invoke-IcingaCheckClusterHealthto monitor the status of a HyperV Failover Cluster, but I think this can be applied to other clusters. I have a VM that must be powered on only manually and only in specific cases; this produces a warning because the associated resource is offline.

image

I found a way to exclude cluster nodes, but not to exclude cluster resources. For now, the only available workaround it to use the -SkipClusterRessources switch, but it is not so acceptable.

There is a way to exclude a specific resource from the check?

Aleksey-Maksimov commented 2 months ago

Hello. We got the same problem. The plugin needs the ability to exclude resources by name mask.