windows_exporter/docs/collector.mscluster_resourc...

2.8 KiB

mscluster_resourcegroup collector

The MSCluster_ResourceGroup class is a dynamic WMI class that represents a cluster group.

Metric name prefix mscluster_resourcegroup
Classes MSCluster_ResourceGroup
Enabled by default? No

Flags

None

Metrics

Name Description Type Labels
AutoFailbackType Provides access to the group's AutoFailbackType property. gauge name
Characteristics Provides the characteristics of the group. The cluster defines characteristics only for resources. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS. gauge name
ColdStartSetting Indicates whether a group can start after a cluster cold start. gauge name
DefaultOwner Number of the last node the resource group was activated on or explicitly moved to. gauge name
FailbackWindowEnd The FailbackWindowEnd property provides the latest time that the group can be moved back to the node identified as its preferred node. gauge name
FailbackWindowStart The FailbackWindowStart property provides the earliest time (that is, local time as kept by the cluster) that the group can be moved back to the node identified as its preferred node. gauge name
FailoverPeriod The FailoverPeriod property specifies a number of hours during which a maximum number of failover attempts, specified by the FailoverThreshold property, can occur. gauge name
FailoverThreshold The FailoverThreshold property specifies the maximum number of failover attempts. gauge name
Flags Provides access to the flags set for the group. The cluster defines flags only for resources. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS. gauge name
GroupType The Type of the resource group. gauge name
OwnerNode The node hosting the resource group. gauge node_name, name
Priority Priority value of the resource group gauge name
ResiliencyPeriod The resiliency period for this group, in seconds. gauge name
State The current state of the resource group. -1: Unknown; 0: Online; 1: Offline; 2: Failed; 3: Partial Online; 4: Pending gauge name
UpdateDomain gauge name

Example metric

Query the state of all cluster group owned by node1

windows_mscluster_resourcegroup_owner_node{node_name="node1"}

Useful queries

Counts the number of cluster group by type

count_values("count", windows_mscluster_resourcegroup_group_type)

Alerting examples

This collector does not yet have alerting examples, we would appreciate your help adding them!