Update changelog for cluster_has_scheduled_action

This commit is contained in:
benoit 2023-08-23 18:26:37 +02:00 committed by Benoit
parent 259f04587b
commit 94a1388d06
2 changed files with 22 additions and 0 deletions

View file

@ -246,6 +246,26 @@ Options:
--help Show this message and exit.
```
### cluster_has_scheduled_action
```
Usage: check_patroni cluster_has_scheduled_action [OPTIONS]
Check if the cluster has a scheduled action (switchover or restart)
Check:
* `OK`: If the cluster has no scheduled action
* `CRITICAL`: otherwise.
Perfdata:
* `scheduled_actions` is 1 if the cluster has scheduled actions.
* `scheduled_switchover` is 1 if the cluster has a scheduled switchover.
* `scheduled_restart` counts the number of scheduled restart in the cluster.
Options:
--help Show this message and exit.
```
### cluster_is_in_maintenance
```

View file

@ -162,6 +162,8 @@ readme "### cluster_has_leader"
helpme cluster_has_leader
readme "### cluster_has_replica"
helpme cluster_has_replica
readme "### cluster_has_scheduled_action"
helpme cluster_has_scheduled_action
readme "### cluster_is_in_maintenance"
helpme cluster_is_in_maintenance
readme "### cluster_node_count"