Module: check_mk
Branch: master
Commit: 5b007d1cb344ceba5f471bd427371a545db35c26
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5b007d1cb344ce…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Mar 28 09:03:56 2013 +0100
FIX: make filesystem_default_levels effective in esx_vsphere_datastores
---
checks/esx_vsphere_datastores | 13 +++++++------
checks/vms_diskstat | 1 +
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/checks/esx_vsphere_datastores b/checks/esx_vsphere_datastores
index b621981..695e6d8 100644
--- a/checks/esx_vsphere_datastores
+++ b/checks/esx_vsphere_datastores
@@ -81,12 +81,13 @@ def check_esx_vsphere_datastores(item, params, info):
return state, infotext, perfdata
check_info['esx_vsphere_datastores'] = {
- "inventory_function" : inventory_esx_vsphere_datastores,
- "check_function" : check_esx_vsphere_datastores,
- "service_description" : "fs_%s",
- "includes" : [ 'df.include' ],
- "has_perfdata" : True,
- "group" : "filesystem",
+ "inventory_function" : inventory_esx_vsphere_datastores,
+ "check_function" : check_esx_vsphere_datastores,
+ "service_description" : "fs_%s",
+ "includes" : [ 'df.include' ],
+ "has_perfdata" : True,
+ "group" : "filesystem",
+ "default_levels_variable" : "filesystem_default_levels",
}
#.
diff --git a/checks/vms_diskstat b/checks/vms_diskstat
index 32fef75..bf30841 100644
--- a/checks/vms_diskstat
+++ b/checks/vms_diskstat
@@ -57,4 +57,5 @@ check_info['vms_diskstat.df'] = {
"has_perfdata" : True,
"group" : "filesystem",
"includes" : [ "df.include" ],
+ "default_levels_variable" : "filesystem_default_levels",
}