check-patroni/check_patroni
benoit 021b572e53 Redefining cluster_node_count using Patroni 3.0.4's new status indicators
Previously, replica nodes were labeled with a `running` state. As a
result, our checks were based on nodes marked as `running` through
the `--running-[warning|critical]` options.

However, with the recent changes in Patroni 3.0.4, replica nodes now
carry a `streaming` state. This shift in terminology calls for an
adjustment in our approach. A new state, `healthy_member`, has been
introduced to encompass both `running` and `streaming` nodes.

Key Modifications:

* The existing `--running-[warning|critical]` option is now designated
  as `--healthy-[warning|critical]`.
* Introduction of the `healthy_member` perfdata, which serves as the
  reference point for the aforementioned options.
* Updates to documentation, help messages, and tests.
2023-08-21 11:59:55 +02:00
..
__init__.py Release 0.2.0 2023-03-20 15:11:03 +01:00
__main__.py Initial commit 2021-07-02 12:37:03 +02:00
cli.py Redefining cluster_node_count using Patroni 3.0.4's new status indicators 2023-08-21 11:59:55 +02:00
cluster.py Redefining cluster_node_count using Patroni 3.0.4's new status indicators 2023-08-21 11:59:55 +02:00
convert.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00
node.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00
types.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00