condition now works
Message-ID: <532c240b.uh1+ckMDecUvp4fv%mk(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: c03876e2c762fffaa2c818b7ff918fc33aaa8edd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c03876e2c762ff…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 21 12:35:23 2014 +0100
INV: fixed rule for active check, condition now works
---
web/plugins/wato/inventory.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/plugins/wato/inventory.py b/web/plugins/wato/inventory.py
index 559ba57..c5c10c1 100644
--- a/web/plugins/wato/inventory.py
+++ b/web/plugins/wato/inventory.py
@@ -31,7 +31,7 @@ group = "inventory"
register_rule(group,
"active_checks:cmk_inv",
- None, # Currently no parameters
+ FixedValue(None, totext = _("No configuration neccessary")),
title = _("Do hardware/software Inventory"),
help = _("All hosts configured via this ruleset will do a hardware and "
"software inventory. For each configured host a new active check "
@@ -41,6 +41,7 @@ register_rule(group,
"<b>Note:</b> in order to get any useful "
"result for agent based hosts make sure that you have installed "
"the agent plugin <tt>mk_inventory</tt> on these
hosts."),
+ match = "all",
)
register_rule(group,