Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 6ce09ea70773326fc836db286f2389da3b9770ae
https://github.com/tribe29/checkmk/commit/6ce09ea70773326fc836db286f2389da3…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-02 (Wed, 02 Sep 2020)
Changed paths:
A .werks/11364
M checkman/if_brocade
M checkman/if_fortigate
M checkman/if_lancom
M checks/if.include
R checks/if_brocade
R checks/if_fortigate
R checks/if_lancom
M cmk/base/api/agent_based/register/section_plugins_legacy_scan_function.py
M cmk/base/config.py
M cmk/base/plugins/agent_based/if64.py
M cmk/base/plugins/agent_based/if64adm.py
A cmk/base/plugins/agent_based/if_brocade_lancom.py
A cmk/base/plugins/agent_based/if_fortigate.py
M cmk/base/plugins/agent_based/utils/if64.py
M tests/testlib/base.py
M tests/unit/checks/test_generic_legacy_conversion.py
Log Message:
-----------
11364 if_lancom: Never detect if if64-checks are disabled
The check <tt>if_lancom</tt> monitores network interfaces of LANCOM devices
using 64-bit SNMP counters. Since there are devices with broken firmware which
by mistake report that they support 64-bit counters, checkmk offers the rule
"Hosts forced to use <tt>if</tt> instead of if64</tt>". This
rule enforces the
usage of the 32-bit SNMP interface check <tt>if<\tt> over the 64-bit version.
Up to now, the check <tt>if_lancom</tt> did not fully apply this rule. I.e.,
depending on the device, even if this rule was activated, <tt>if_lancom</tt>
might still have been discovered. With this werk, <tt>if_lancom</tt> is never
discovered if "Hosts forced to use <tt>if</tt> instead of
if64</tt>" is activated.
This change might be incompatible for users who activated the rule "Hosts forced
to use <tt>if</tt> instead of if64</tt>". Currently discovered
services will
continue to work, however, upon rediscovery, <tt>if_lancom</tt> might be
replaced
by <tt>if</tt>. In such cases, users have to further restrict the hosts to
which this rule is applied.
This change also migrates if_brocade, if_fortigate and if_lancom to the new API.
CMK-5267
Change-Id: If5c4b646a12b3542cb9cf5764be06ade54586fdb