Skip to content

DRBD monitoring, refactoring and small improvements

Pre-release
Pre-release

Choose a tag to compare

@MalloZup MalloZup released this 18 Oct 10:24

breaking changes:

  • all metrics will have now a uniform prefix ha_cluster (#48).
    Example: from corosync_quorate 1 to ha_cluster_corosync_quorate 1

new metrics:

    1. drbd metric local disk resource monitoring (#26)
ha_cluster_drbd_resource{disk_state="uptodate",resource_name="1-single-0",role="Secondary",volume="0"} 1
ha_cluster_drbd_resource{disk_state="uptodate",resource_name="1-single-1",role="Secondary",volume="0"} 1
ha_cluster_drbd_resource{disk_state="uptodate",resource_name="vg1",role="Secondary",volume="0"} 1
ha_cluster_drbd_resource{disk_state="uptodate",resource_name="vg2",role="Secondary",volume="0"} 1
ha_cluster_drbd_resource{disk_state="uptodate",resource_name="vg3",role="Secondary",volume="0"} 1
    1. Monitor remote DRBD disk resource
ha_cluster_drbd_resources_remote_connection{peer_disk_state="dunknown",peer_node_id="0",peer_role="Unknown",resource_name="drbd_passive",volume="0"} 1

Improvements:

  • pacemaker metrics refactored in separated file and implemented unit-tests (#45)

  • introduced level logging (#48)

  • introduced wrapping errors(#48)

  • handle error better: don't panic, just skip metric and print error in logs. (#23)

openSUSE Linux Packages:

You can find openSUSE packages:
https://build.opensuse.org/package/show/server:monitoring/prometheus-ha_cluster_exporter

Contributors:

Thanks a lot for all the contributors that made this release possible:
@stefanotorresi , @ashleyprimo , @mbiagetti @sathia27