patroni.watchdog package¶
Module contents¶
-
exception
patroni.watchdog.
WatchdogError
(value: Any)¶ Bases:
patroni.exceptions.PatroniException
Any problem faced while managing a watchdog device.
-
class
patroni.watchdog.
Watchdog
(config: patroni.config.Config)¶ Bases:
object
Facade to dynamically manage watchdog implementations and handle config changes.
When activation fails underlying implementation will be switched to a Null implementation. To avoid log spam activation will only be retried when watchdog configuration is changed.
-
activate
(*args, **kwargs) → Any¶
-
disable
(*args, **kwargs) → Any¶
-
is_healthy
¶
-
is_running
¶
-
keepalive
(*args, **kwargs) → Any¶
-
reload_config
(*args, **kwargs) → Any¶
-