Werk #13126: postgres_conn_time: Don't crash on inconsistent section data

Component Checks & agents
Title postgres_conn_time: Don't crash on inconsistent section data
Date Aug 3, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the postgres_conn_time check did crash while parsing inconsistent section data.

Now, in the case of inparsable section data, but section data about the queried database is available, a warning will be displayed in the resulting service. Otherwise, if it is not possible to obtain information about the queried database, it is assumed that no actual data is available, and the inconsistent section will be dropped silently.

To the list of all Werks