Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 5d265e0ce166dff2968096fa95bd37a3ca05c9d3
https://github.com/tribe29/checkmk/commit/5d265e0ce166dff2968096fa95bd37a3c…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
A .werks/13585
M omd/packages/monitoring-plugins/monitoring-plugins.make
A omd/packages/monitoring-plugins/patches/0010-get_omd_root_in_checks.dif
Log Message:
-----------
13585 FIX check_snmp "External command error with no output"
With Checkmk, we deliver nagios plugins, like check_snmp or check_hpjd.
You're affected, if you're using those plugin and seeing the following output:
<tt>External command error with no output</tt>
The built binary was broken in previous 2.1 beta versions due to our package build cache.
Details:
* We're building check_snmp/check_hpjd once and push it afterwards into our build
cache
* However those checks receives the path to the snmpget binaries during
buildtime.
* This results in the path beeiing something like
"/omd/versions/2.1.0-2022.02.25.cee/bin/snmpget"
* So the path referenced to the date/version when the cache was created.
* Of course, this is not working in other versions.
* So we now calculate the full path during execution time.
CMK-10078
Change-Id: I33473debe43892968296310aae7fda6266fe5f61