[checkmk-commits] 3152 FIX lvm_vgs: fixed exception in host-specific settings if rule for LVM groups is set

Sebastian Herbord sh at mathias-kettner.de
Mon Jul 4 14:12:25 CEST 2016


Module: check_mk
Branch: master
Commit: de1ebadc35e648a0bf9090b32eb79252348c8641
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de1ebadc35e648a0bf9090b32eb79252348c8641

Author: Sebastian Herbord <sh at mathias-kettner.de>
Date:   Mon Jul  4 14:11:54 2016 +0200

3152 FIX lvm_vgs: fixed exception in host-specific settings if rule for LVM groups is set

---

 .werks/3152                          |   10 ++++++++++
 ChangeLog                            |    1 +
 checks/lvm_vgs                       |    1 +
 web/plugins/wato/check_parameters.py |    2 +-
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/.werks/3152 b/.werks/3152
new file mode 100644
index 0000000..4af887c
--- /dev/null
+++ b/.werks/3152
@@ -0,0 +1,10 @@
+Title: lvm_vgs: fixed exception in host-specific settings if rule for LVM groups is set
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1467634183
+
+
diff --git a/ChangeLog b/ChangeLog
index d794d09..9c81753 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -471,6 +471,7 @@
     * 3620 FIX: Do not longer put SNMP MIB files into WATO snapshots...
     * 3547 FIX: Deleting a subfolder now generates a correct audit message...
     * 3661 FIX: Service discovery is now possible with only "modify services" permission...
+    * 3152 FIX: lvm_vgs: fixed exception in host-specific settings if rule for LVM groups is set
 
     Notifications:
     * 3263 Notifications: allow users to restrict by their contact groups...
diff --git a/checks/lvm_vgs b/checks/lvm_vgs
index fb9fbdb..9d7a0a3 100644
--- a/checks/lvm_vgs
+++ b/checks/lvm_vgs
@@ -44,4 +44,5 @@ check_info['lvm_vgs'] = {
     "has_perfdata"            : True,
     "group"                   : "volume_groups",
     "default_levels_variable" : "filesystem_default_levels",
+    "includes"                : [ "df.include" ]
 }
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index aeb584f..b346eb3 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -4738,7 +4738,7 @@ register_check_parameters(
     TextAscii(
         title = _("Volume Group"),
         allow_empty = False),
-    "dict"
+    "first"
 )
 
 register_check_parameters(



More information about the checkmk-commits mailing list