[checkmk-commits] [tribe29/checkmk] 4ece0f: 7423 FIX mk_postgres: fix syntax error

Tom Bärwinkel noreply at github.com
Wed Jun 19 15:32:31 CEST 2019


  Branch: refs/heads/1.6.0
  Home:   https://github.com/tribe29/checkmk
  Commit: 4ece0ff5b266bbca67c2e7b071ccda653245f0e6
      https://github.com/tribe29/checkmk/commit/4ece0ff5b266bbca67c2e7b071ccda653245f0e6
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    A .werks/7423
    M agents/plugins/mk_postgres

  Log Message:
  -----------
  7423 FIX mk_postgres: fix syntax error

Version 1.5.0p17 and 1.5.0p18 of the mk_postgres plugin gave a
syntax error when parsing databases. This results in empty
output between [databases_start] and [databases_end] in the
plugin output. As a consequence the checks postgres_stats,
postgres_bloat, postgres_connections, postgres_locks and
postgres_query_duration become stale.

To resolve the error the fixed version of mk_postgres has to be
deployed to the affected hosts.

Change-Id: I8dc5e88e3a7584538f2ba09407c54a27a1837ca4


  Commit: 3efc32784ade18518a2c0cb56bfbbe632f57c081
      https://github.com/tribe29/checkmk/commit/3efc32784ade18518a2c0cb56bfbbe632f57c081
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    A .werks/7424
    M agents/plugins/mk_postgres

  Log Message:
  -----------
  7424 FIX mk_postgres: add missing database parameter

The mk_postgres plugin was missing a database parameter in
the queries for the checks postgres_bloat and postgres_stats.
Therefore, the name of the database user was used as a
fallback. As a result no output for postgres_stats and
postgres_bloat was returned if a database with the username
did not exist. If a database with the username exists
the checks give the correct output.

To resolve the issue the fixed version of the mk_postgres
plugin has to be deployed on the affected hosts.

Change-Id: I1df8e3e52184c86dff7e2335e29639079fd69bc1


  Commit: 682f440181d74851cef5adc2772913f6c837ffb8
      https://github.com/tribe29/checkmk/commit/682f440181d74851cef5adc2772913f6c837ffb8
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    A .werks/7426
    M agents/plugins/mk_postgres

  Log Message:
  -----------
  7426 FIX mk_postgres: fix the version detection when using an MK_CONFFILE

Since version 1.5.0p17 the version detection fails if an MK_CONFFILE
is used and the psql binary cannot be found in the PATH. To resolve
the issue the fixed version of the mk_postgres plugin has to be
deployed on the affected hosts.

Change-Id: Idd16c018c62b2893b45189a94b95df94bdcda472


Compare: https://github.com/tribe29/checkmk/compare/d8ee19dc4afa...682f440181d7


More information about the checkmk-commits mailing list