Werk #14970: mk_postgres.py: Use PATH as fallback for psql binary location
Component | Checks & agents | ||||||
Title | mk_postgres.py: Use PATH as fallback for psql binary location | ||||||
Date | Jan 11, 2023 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.