Werk #7425: mk_postgres, postgres_instances: fix plugin output for older operating systems

Component Checks & agents
Title mk_postgres, postgres_instances: fix plugin output for older operating systems
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)

mk_postgres used the pgrep command to find the running PostgreSQL instances. Unfortunately, version 1.5.0p3 added a command line argument that is not supported on older operating systems like e.g. SLES 11, but only on newer ones like e.g. SLES 12. As a result Checkmk did not find any PostgreSQL instances on older operating systems.

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