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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b3 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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