Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 0999cadc2abdb69c1937467dceb6ad269a8858f9
https://github.com/tribe29/checkmk/commit/0999cadc2abdb69c1937467dceb6ad269…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-02-15 (Mon, 15 Feb 2021)
Changed paths:
A .werks/12156
M agents/plugins/mk_postgres.py
M tests/agent-plugin-unit/test_mk_postgres.py
Log Message:
-----------
12156 FIX mk_postgres: Service state goes to stale if psql connection failed.
The services postgres_sessions, postgres_locks, postgres_query_duration,
postgres_connections, postgres_stats, postgres_bloat need a working tcp connection with
the psql command line tool. If the connection cannot be established the service goes to
stale.
Change-Id: Idae6cec91b7c67ac8320cdb46aa02018de1c043f