Werk #13580: Only query fallback user in case of missing config

Component Checks & agents
Title Only query fallback user in case of missing config
Date Mar 14, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The agent plugin mk_postgres.py always first queried a default user by using a sys call. However this would not be needed if a valid config is available.

To the list of all Werks