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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p13 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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