Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f3581ecbe53acfb023c6cdee1a35974316281e5f
https://github.com/tribe29/checkmk/commit/f3581ecbe53acfb023c6cdee1a3597431…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
A .werks/14342
M checkman/prometheus_build
M cmk/base/plugins/agent_based/prometheus_build.py
M cmk/special_agents/agent_prometheus.py
M tests/unit/cmk/base/plugins/agent_based/test_prometheus_build.py
Log Message:
-----------
14342 FIX agent_prometheus & prometheus_build_info: change to display version of
main_instance
Previously, the agent returned an error if the build_info PromQL returned multiple
entries. This
effectively prevented the user from using the agent for a Prometheus cluster setup. This
werk removes
this limitation and adjusts the Prometheus Build Service accordingly. The customization is
only visible
for Prometheus instances running below version 2.14 and the details can be found in the
updated man page
Change-Id: I2c4e86c59c26411c3dadf26979a1070d8d250d13