Commit graph

19 commits

Author SHA1 Message Date
benoit 7286638121 -e/endpoints spec update
* it is now possible to specify a comma separated list of endpoints
* the documentation as been updated to explain that:
  + for node services if several addresses are specified they should
    point to different interfaces on the same server.
  + for cluster services several addresses should be used because we
    want the cluster status so the more API we try the better our chance
    of having a reply.
2023-03-10 10:16:01 +01:00
benoit 48d2656ec7 Update check_patroni's description to mention Patroni's API 2023-03-10 10:16:01 +01:00
benoit 908669f073 Add a --save option when state files are used
The checks `cluster_config_has_changed` and `node_tl_has_changed` use a
state file to store the previous value of the config hash and the
timeline.

Previously the check would fail if something changed, but the new value
would be saved directly. This behavious has changed. The new value
is saved only if `--save` is passed to the check.

The mimics the way [check_pgactivity] manages this kind of checks.

[check_pgactivity]: https://github.com/OPMDG/check_pgactivity
2023-03-02 17:32:18 +01:00
Étienne BERSAC 3ac8570748
Review README, extracting CONTRIBUTING 2022-07-11 12:12:55 +02:00
benoit 14c7ae5267 Fix README.md 2022-07-11 08:57:14 +02:00
benoit 4de20fefdc Node and Cluster services reviews 2022-02-07 14:18:14 +01:00
benoit ec3b8f6806 Update setup.py and url in README 2022-02-07 11:09:46 +01:00
benoit 7898011c40 Update the README and help 2022-02-07 11:03:12 +01:00
benoit e663695b26 Update README with some test info 2021-12-31 16:17:21 +01:00
benoit 561c3ed9da Fix doc layout and threshold doc 2021-12-31 11:30:17 +01:00
benoit 86f8bdb395 Readme: perfdata for not_tl_has_changed 2021-12-08 17:23:56 +01:00
benoit df58901fd9 Typo Readme 2021-12-08 17:14:38 +01:00
benoit ba1f5ab3e7 Syntax of threshold parameter in README.md 2021-08-26 15:31:47 +02:00
benoit 7258d5fd60 Try to fix install
* add info in README.md
* add wheel as a dependency for debian 10
2021-08-13 14:43:07 +02:00
benoit fdda1d309b Update README.md with install notes 2021-08-13 12:12:08 +02:00
benoit e0500ed3a7 Update README to mention config files 2021-08-13 11:13:33 +02:00
benoit d4e974da51 --max-lag additions and fixups
* add --max-lag to cluster_has_replica
* change --lag to --max-lag in node_is_replica
* update tests
* update README.md
2021-08-13 11:00:43 +02:00
benoit 4169766a2f Readme
* Add the README.md
* A way to generate the README.md from the help
2021-08-12 13:15:10 +02:00
benoit 1e6adc6a1a First working version 2021-08-12 13:07:10 +02:00