2.7 KiB
Cluster
pacemaker_local_dc_active
,1
when the Designated Controller (DC) is the local host, if not, then0
.pacemaker_dc
1,1
when the Designated Controller (DC) is present, if not, then0
.pacemaker_quorum_status
2,1
when the cluster's quorum is reached, if not, then0
.pacemaker_configured_nodes
3, the number of configured nodes in the cluster.pacemaker_configured_resources
4, the number of configured nodes in the cluster.
Node
The following metrics are only emitted from the node that is the
Designated Controller (DC) of the Pacemaker cluster. They have a
status
field which is one of 'offline', 'maintenance', or
'online':
pacemaker_node_status
, the status of the node,0
when offline,1
when in maintenance or2
when online.pacemaker_node_count
, the total number of nodes with the givenstatus
.pacemaker_node_percent
, the percentage of nodes with the givenstatus
.
Resource
pacemaker_local_resource_active
,1
when the resource is located on the host reporting the metric, if not, then0
. The metric contains aresource
field which is one of 'vip__public', 'vip__management', 'vip__vrouter_pub', or 'vip__vrouter'.pacemaker_resource_failures
5, the total number of failures that Pacemaker detected for theresource
. The counter is reset every time the collector restarts. The metric contains aresource
field which one of 'vip__management', 'vip__public', 'vip__vrouter_pub', 'vip__vrouter', 'rabbitmq', 'mysqld' or 'haproxy'.pacemaker_resource_operations
6, the total number of operations that Pacemaker applied to theresource
. The counter is reset every time the collector restarts. The metric contains aresource
field which one of 'vip__management', 'vip__public', 'vip__vrouter_pub', 'vip__vrouter', 'rabbitmq', 'mysqld' or 'haproxy'.
The following metrics have resource
and
status
fields.
status
is one of 'offline', 'maintenance', or
'online'.
resource
is one of 'vip__management', 'vip__public',
'vip__vrouter_pub', 'vip__vrouter', 'rabbitmq', 'mysqld' or
'haproxy'.
pacemaker_resource_count
7, the total number of instances for the givenstatus
andresource
.pacemaker_resource_percent
8, the percentage of instances for the givenstatus
andresource
.
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎
this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎