The Checkmk Conference #11 is happening – live on May 20-21! Watch now

Werk #7424: mk_postgres: add missing database parameter

Component Checks & agents
Title mk_postgres: add missing database parameter
Date Jun 14, 2019
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The mk_postgres plugin was missing a database parameter in the queries for the checks postgres_bloat and postgres_stats. Therefore, the name of the database user was used as a fallback. As a result no output for postgres_stats and postgres_bloat was returned if a database with the username did not exist. If a database with the username exists the checks give the correct output.

To resolve the issue the fixed version of the mk_postgres plugin has to be deployed on the affected hosts.

To the list of all Werks