Module: check_mk
Branch: master
Commit: ea6ef91aab8fce9c0c69d2923118e03e699c2ef1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ea6ef91aab8fce…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Nov 9 13:54:54 2015 +0100
fixed fix of esx_vsphere_datastores...
---
checks/esx_vsphere_datastores | 1 +
1 file changed, 1 insertion(+)
diff --git a/checks/esx_vsphere_datastores b/checks/esx_vsphere_datastores
index 5ef9176..0aba3e3 100644
--- a/checks/esx_vsphere_datastores
+++ b/checks/esx_vsphere_datastores
@@ -77,6 +77,7 @@ def check_esx_vsphere_datastores(item, params, info):
prov_percent = (prov_mb / size_mb) * 100
prov_txt = ''
+ warn, crit = None, None
if 'provisioning_levels' in params:
warn, crit = params['provisioning_levels']
levels_text = " (warn/crit at %.1f%%/%.1f%%)" % (warn, crit)