Module: check_mk
Branch: master
Commit: ac5470af22264a6ec3f190cd4014512b2e196e2b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac5470af22264a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 14 00:23:56 2013 +0200
Fix WATO rule for inventory checks
Add missing default value, fix label
---
web/plugins/wato/check_mk_configuration.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 1cfdebf..88b360a 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -991,8 +991,9 @@ register_configvar(group,
"inventory_check_interval",
Optional(
Integer(title = _("Do inventory check every"),
- label = _("minutes"),
- min_value = 1),
+ unit = _("minutes"),
+ min_value = 1,
+ default_value = 120),
title = _("Enable regular inventory checks"),
help = _("If enabled, Check_MK will create one additional check per host
"
"that does a regular check, if the inventory would find new
services "