Module: check_mk
Branch: master
Commit: 4f479a30649329e75a9e3e028f82b4b37c08edd6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4f479a30649329…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 23 16:12:58 2014 +0200
Internal code cleanup of zfsget
---
checks/zfsget | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/zfsget b/checks/zfsget
index c57609b..5ec0d93 100644
--- a/checks/zfsget
+++ b/checks/zfsget
@@ -94,7 +94,7 @@ def parse_zfsget(info):
parsed = {}
for entry in entries:
if entry["mountpoint"].startswith("/"):
- entry["is_pool"] = '/' not in name
+ entry["is_pool"] = '/' not in entry["name"]
parsed[entry["mountpoint"]] = entry
if start_of_df != None: