Werk #15262: mk_postgres.py: Improved instance process detection

Component Checks & agents
Title mk_postgres.py: Improved instance process detection
Date Feb 6, 2023
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.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p34 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk affects the monitoring of one or more PostgreSQL instances via the Postgres agent plugin for Linux. The changes to the process filtering introduced in werk #15085 could lead to an empty "postgres_instances" section if the instance name contained capital letters. Now, a case-sensitive filter is applied first, allowing case-insensitive filtering only if no processes could be found. In order to apply this change you will need to reinstall the agent plugin.

To the list of all Werks