check-patroni - Nagios plugin to check on patroni
check_patroni [OPTIONS] COMMAND
[ARGS]...
- Nagios plugin that uses Patroni's REST API to monitor a Patroni
cluster.
- --config
FILE
- Read option defaults from the specified INI file [default:
config.ini]
- -e, --endpoints
TEXT
- Patroni API endpoint. Can be specified multiple times or as a list of
comma separated addresses. The node services checks the status of one
node, therefore if several addresses are specified they should point to
different interfaces on the same node. The cluster services check the
status of the cluster, therefore it's better to give a list of all Patroni
node addresses. [default: http://127.0.0.1:8008]
- --cert_file
PATH
- File with the client certificate.
- --key_file
PATH
- File with the client key.
- --ca_file
PATH
- The CA certificate.
- -v, --verbose
- Increase verbosity -v (info)/-vv (warning)/-vvv (debug)
--version
- --timeout
INTEGER
- Timeout in seconds for the API queries (0 to disable) [default: 2]
- --help
- Show this message and exit.