Werk #14762: mk_postgres.py: instances not found under Linux for PostgreSQL version >= 13

Komponente Checks & agents
Titel mk_postgres.py: instances not found under Linux for PostgreSQL version >= 13
Datum 25.08.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p28 2.1.0p11 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This fix only applies when your PostgreSQL server runs under Linux.

The plugin "mk_postgres.py" does not find any instances when PostgreSQL version >= 13 is installed. This has been fixed. If you require this fix, please update the agent plugin "mk_postgres.py" on the relevant host.

The problem was that in this version, the output of the "ps" command does not include the full path to the relevant binaries, and therefore they could not be correctly identified as PostgreSQL processes. For example:

[PID] /usr/bin/postmaster [OPTS] --> [PID] postmaster [OPTS]

Zur Liste aller Werks