Module: check_mk
Branch: master
Commit: 562b40518d923a367396453edd45f31d7dd00f10
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=562b40518d923a…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Sep 5 13:01:21 2013 +0200
esx_vsphere_datastores: now a little bit more tolerant when parsing accessible attribute
---
checks/esx_vsphere_datastores | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/esx_vsphere_datastores b/checks/esx_vsphere_datastores
index 8dec7cb..62efcb5 100644
--- a/checks/esx_vsphere_datastores
+++ b/checks/esx_vsphere_datastores
@@ -44,7 +44,7 @@ def esx_vsphere_datastores_parse(info):
else:
key, value = line
if key == "accessible":
- value = value == "True"
+ value = value.lower() == "true"
elif key in [ "capacity", "freeSpace",
"uncommitted" ]:
value = int(value)
store[key] = value