Module: check_mk
Branch: master
Commit: 91f184dbdc4efdeac0e1b7647dc4e36d694410c2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=91f184dbdc4efd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon May 6 11:47:09 2013 +0200
zfsget: ignore moint points with "none"
---
checks/zfsget | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/zfsget b/checks/zfsget
index aacbb12..5a5cdab 100644
--- a/checks/zfsget
+++ b/checks/zfsget
@@ -93,7 +93,7 @@ def parse_zfsget(info):
parsed = {}
for entry in entries:
- if entry["mountpoint"] != '-':
+ if entry["mountpoint"] not in [ '-', 'none' ]:
entry["is_pool"] = '/' not in name
parsed[entry["mountpoint"]] = entry