Module: check_mk
Branch: master
Commit: f229cb4d75c2f1505aa8a0ad859e39c906d3f765
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f229cb4d75c2f1…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Sep 3 17:21:56 2018 +0200
6484 FIX Fixed filtering check plugins for the management board and the host itself
In order to decide which check is used for which data source
we have to filter the found check plugins. This is done via
the check_info key "management_board". There are three values
with the following meanings:
- MGMT_ONLY
These check plugins
- are only used for management board data sources,
- have the prefix 'mgmt_' in their name,
- have the prefix 'Management Interface:' in their service description.
- If there is an equivalent host check plugin then it must be 'HOST_ONLY'.
- HOST_PRECEDENCE
- Default value for all check plugins.
- It does not have to be declared in the check_info.
- Special situation for SNMP management boards:
- If a host is not a SNMP host these checks are used for
the SNMP management boards.
- If a host is a SNMP host these checks are used for
the host itself.
- HOST_ONLY
These check plugins
- are used for 'real' host data sources, not for host management board data
sources
- there is an equivalent 'MGMT_ONLY'-management board check plugin.
Migration from 1.4 to 1.5:
in 1.4 TCP hosts with SNMP management boards discovered TCP and
SNMP checks, eg. uptime and snmp_uptime. During checking phase
these checks should be executed
further on.
In versions >= 1.5 there are management board specific check
plugins, eg. mgmt_snmp_uptime.
After a re-discovery Check_MK finds the uptime check plugin for
the TCP host and the mgmt_snmp_uptime check for the SNMP
management board. Moreover Check_MK eliminates 'HOST_ONLT'
checks like snmp_uptime.
Change-Id: I05290950b6ee3c9abf76e514f1ea6cd19d7dacd9
---
.werks/6484 | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/.werks/6484 b/.werks/6484
new file mode 100644
index 0000000..96d10da
--- /dev/null
+++ b/.werks/6484
@@ -0,0 +1,47 @@
+Title: Fixed filtering check plugins for the management board and the host itself
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1535988064
+
+In order to decide which check is used for which data source
+we have to filter the found check plugins. This is done via
+the check_info key "management_board". There are three values
+with the following meanings:
+- MGMT_ONLY
+ These check plugins
+ - are only used for management board data sources,
+ - have the prefix 'mgmt_' in their name,
+ - have the prefix 'Management Interface:' in their service description.
+ - If there is an equivalent host check plugin then it must be 'HOST_ONLY'.
+
+- HOST_PRECEDENCE
+ - Default value for all check plugins.
+ - It does not have to be declared in the check_info.
+ - Special situation for SNMP management boards:
+ - If a host is not a SNMP host these checks are used for
+ the SNMP management boards.
+ - If a host is a SNMP host these checks are used for
+ the host itself.
+
+- HOST_ONLY
+ These check plugins
+ - are used for 'real' host data sources, not for host management board data
sources
+ - there is an equivalent 'MGMT_ONLY'-management board check plugin.
+
+
+Migration from 1.4 to 1.5:
+in 1.4 TCP hosts with SNMP management boards discovered TCP and
+SNMP checks, eg. uptime and snmp_uptime. During checking phase
+these checks should be executed
+further on.
+In versions >= 1.5 there are management board specific check
+plugins, eg. mgmt_snmp_uptime.
+After a re-discovery Check_MK finds the uptime check plugin for
+the TCP host and the mgmt_snmp_uptime check for the SNMP
+management board. Moreover Check_MK eliminates 'HOST_ONLT'
+checks like snmp_uptime.