We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Checkmk Conference #6 is coming. Get your tickets here!

Werk #7424: mk_postgres: add missing database parameter

ComponentChecks & Agents
Titlemk_postgres: add missing database parameter
Date2019-06-14 12:04:20
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b3,1.7.0i1,1.5.0p19
LevelTrivial Change
ClassBug Fix
CompatibilityIncompatible - Manual interaction might be required

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.