fuel-plugin-lma-collector/doc/user/source/metrics/pacemaker.rst

2.7 KiB

Cluster

  • pacemaker_dc_local_active, 1 when the Designated Controller (DC) is the local host, if not, then 0.
  • pacemaker_dc1, 1 when the Designated Controller (DC) is present, if not, then 0.
  • pacemaker_quorum_status2, 1 when the cluster's quorum is reached, if not, then 0.
  • pacemaker_configured_nodes3, the number of configured nodes in the cluster.
  • pacemaker_configured_resources4, 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 or 2 when online.
  • pacemaker_node_count, the total number of nodes with the given status.
  • pacemaker_node_percent, the percentage of nodes with the given status.

Resource

  • pacemaker_resource_local_active, 1 when the resource is located on the host reporting the metric, if not, then 0. The metric contains a resource field which is one of 'vip__public', 'vip__management', 'vip__vrouter_pub', or 'vip__vrouter'.
  • pacemaker_resource_failures5, the total number of failures that Pacemaker detected for the resource. The counter is reset every time the collector restarts. The metric contains a resource field which one of 'vip__management', 'vip__public', 'vip__vrouter_pub', 'vip__vrouter', 'rabbitmq', 'mysqld' or 'haproxy'.
  • pacemaker_resource_operations6, the total number of operations that Pacemaker applied to the resource. The counter is reset every time the collector restarts. The metric contains a resource 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_count7, the total number of instances for the given status and resource.
  • pacemaker_resource_percent8, the percentage of instances for the given status and resource.

  1. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  2. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  3. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  4. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  5. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  6. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  7. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎

  8. this metric is only emitted from the node that is the Designated Controller (DC) of the Pacemaker cluster.↩︎