Skip to content

check_patroni 1.0.0 - 2023-08-28

Compare
Choose a tag to compare
@blogh blogh released this 28 Aug 10:24
· 32 commits to master since this release

check_patroni is now tagged as Production/Stable.

Added

  • Add sync_standby as a valid replica type for cluster_has_replica. (contributed by @mattpoel)
  • Add info and options (--sync-warning and --sync-critical) about sync replica to cluster_has_replica.
  • Add a new service cluster_has_scheduled_action to warn of any scheduled switchover or restart.
  • Add options to node_is_replica to check specifically for a synchronous (--is-sync) or asynchronous node (--is-async).
  • Add standby-leader as a valid leader type for cluster_has_leader.
  • Add a new service node_is_leader to check if a node is a leader (which includes standby leader nodes)

Fixed

  • Fix the node_is_alive check. (#31)
  • Fix the cluster_has_replica and cluster_node_count checks to account for
    the new replica state streaming introduced in v3.0.4 (#28, reported by @log1-c)

Misc

  • Create CHANGELOG.md
  • Add tests for the output of the scripts in addition to the return code
  • Documentation in CONTRIBUTING.md