dalibo / check_patroni

A nagios plugin for patroni.
PostgreSQL License
7 stars 3 forks source link

Fix the liveness check in node_is_alive #40

Closed blogh closed 1 year ago

blogh commented 1 year ago

Previously if a node wasn't reachable whe would get an UNKNOWN error. instead of a CRITICAL error.

NODEISALIVE UNKNOWN - Connection failed for all provided endpoints

We now get the correct error.

NODEISALIVE CRITICAL - This node is not alive (patroni is not running). | is_alive=0;;@0