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

Component Checks & agents
Title mk_postgres.py: Improved instance process detection
Date Feb 6, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p34 2.1.0p21 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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