Werk #13168: mk_postgres: fix for CentOS 8: "MAIN": not running

Component Checks & agents
Title mk_postgres: fix for CentOS 8: "MAIN": not running
Date Oct 19, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The path for postgres instance "main" is called "data" and not "main" on some platforms. That could lead to the following error message: instance "MAIN": not running

In order to support more platforms the instance detection for "main" will additionally fallback to find "data" in the path if "main" was not found.

The agent must be redeployed in order to apply this bugfix.

To the list of all Werks