Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: fc0bbffc74017414ade66932f0f75029f5ed1cdd
https://github.com/tribe29/checkmk/commit/fc0bbffc74017414ade66932f0f75029f…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-06-15 (Wed, 15 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