Module: check_mk
Branch: master
Commit: aa4f1162ccd335354efab8a63e159c6436e2e716
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aa4f1162ccd335…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 27 09:49:35 2019 +0100
7328 FIX Deprecate inventory_processes and inv_domino_tasks rulesets
If you have always used WATO to configure your Check_MK you are not affected
by this change.
There have been two rulesets for configuring process discovery rules for a long
time. The old one, <tt>inventory_processes</tt>, and the newer WATO
compatible
ruleset <tt>inventory_processes_rules</tt>. The second one has replaced
inventory_processes a long time ago. The old ruleset was still working for
compatibility but has been removed now.
If you have configured such rules in your configuration, it will still load,
but print out a warning message like this: "WARNING: Found rules for deprecated
ruleset 'inventory_processes'. These rules are not applied anymore. In case you
still need them, you need to migrate them by hand. Otherwise you can remove
them from your configuration."
The same applies to the ruleset <tt>inv_domino_tasks</tt> and
<tt>inv_domino_tasks_rules</tt>.
Change-Id: I9217d85b7e7361f01243f20bf9d93ce67dcc6517
---
.werks/7328 | 26 ++++++++++++++++++++
checkman/domino_tasks | 39 +-----------------------------
checkman/ps | 56 ++++----------------------------------------
checks/domino_tasks | 5 +++-
checks/ps | 5 +++-
checks/ps.include | 49 +++-----------------------------------
cmk_base/config.py | 2 ++
tests/unit/checks/test_ps.py | 4 ++--
8 files changed, 46 insertions(+), 140 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=aa4f1162cc…