Werk #11138: Monitor Postgres DBs on Windows and Linux
| Component | Checks & agents | ||
| Title | Monitor Postgres DBs on Windows and Linux | ||
| Date | Jun 29, 2020 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
This werk enables the monitoring of Posgres DBs under Linux as well as under Windows. The previously existing agent plugin "mk_postgres" (written in bash), was therefore ported to Python. We're currently supporting the following Python versions: 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8.
The WATO rule "PostgreSQL database and sessions" configures the agent plugin for the bakery. The bakery will then bake plugins for Linux and Windows as well as the respective .cfg files.
In order to be able to use it under Linux, a Python environment including the module "psutil" must be installed. In order to be able to use it under Windows, the user needs to deploy the Windows Agent from checkmk v2.0 or manually install a Python environment.