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