Werk #14970: mk_postgres.py: Use PATH as fallback for psql binary location

Komponente Checks & agents
Titel mk_postgres.py: Use PATH as fallback for psql binary location
Datum 11.01.2023
Checkmk-Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0b1 2.1.0p21 2.0.0p34
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This werk affects the monitoring of one or more PostgreSQL instances via agent plugin on linux if the changes made in werk #14975 are applied. The agent plugin will look for the "psql" binary under the path /{pg_database}/{pg_version}/bin/{binary_name}, using the configured values in the .env and .pgpass files. However, this path does not have to be correct, depending on the setup. In case it cannot be found the binary location from PATH is now used instead.

In order to apply this change you will need to reinstall the agent plugin.

Zur Liste aller Werks