Module: check_mk
Branch: master
Commit: 66bba7eeb4cb64093d4f2b43caf1bb7c67e67579
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66bba7eeb4cb64…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Nov 30 16:37:54 2016 +0100
netapp_api_luns: fixed invalid default levels variable
---
checks/netapp_api_luns | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/checks/netapp_api_luns b/checks/netapp_api_luns
index bad6515..285166a 100644
--- a/checks/netapp_api_luns
+++ b/checks/netapp_api_luns
@@ -27,6 +27,12 @@
# <<<netapp_api_luns:sep(9)>>>
# lun /vol/iscsi_crm_dblogs/crm_dblogs_lu01 read-only false size 644286182400 vserver
ISCSI_CRM size-used 538924421120 online true volume iscsi_crm_dblogs
+factory_settings["netapp_api_luns_default_levels"] = {
+ "levels" : (80.0, 90.0), # warn/crit in percent
+ "trend_range" : 24,
+ "trend_perfdata" : True, # do send performance data for trends
+}
+
def inventory_netapp_api_luns(parsed):
for lun in parsed.keys():
yield lun, {}
@@ -65,5 +71,5 @@ check_info["netapp_api_luns"] = {
'has_perfdata' : True,
'group' : "netapp_luns",
'includes' : [ "df.include",
"netapp_api.include" ],
- "default_levels_variable" : "filesystem_default_levels",
+ "default_levels_variable" : "netapp_api_luns_default_levels",
}