From 99f3da85ed0b693eb0b738c2c6c4c8f9da1b067f Mon Sep 17 00:00:00 2001 From: Jeremie Grauer Date: Mon, 4 Jan 2021 22:31:14 +0100 Subject: [PATCH 1/2] Fix #22 Fix #23 removed the global expressions - the "ZFS fileset" actually hide reals dataset, so I've removed it. - I also tested the "not docker ZFS dataset" and it doesn't work anymore, so removing it too. --- README.md | 24 ------------------------ template/zol_template.xml | 27 ++++++++------------------- 2 files changed, 8 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 0183278..1e3f2ae 100644 --- a/README.md +++ b/README.md @@ -32,30 +32,6 @@ About the ZoL version, this template is intended to be used by ZoL version 0.7.0 To use this template, follow those steps: -## Create the needed regular expressions -On your zabbix server web UI, go to: -- Administration -- General -- Regular expressions - -Then Create 2 new regular expressions: -- "ZFS fileset" - -Expression type: `Character string included` - -Expression: `/` - -![ZFS fileset](images/zfs_fileset.png) - -- "not docker ZFS dataset" - -Expression type: `Result is FALSE` - -Expression: `([a-z-0-9]{64}$|[a-z-0-9]{64}-init$)` - -![not docker ZFS dataset](images/zfs_not_docker.png) - -The second expression is to avoid this template to discover docker ZFS datasets because there can be *a lot* of them and they are not that useful to monitor as long as you monitor the parent dataset. This is especially true on host that create and destroy a lot of docker containers all day, creating dataset that disapear shortly after creation. ## Create the Value mapping "ZFS zpool scrub status" Go to: - Administration diff --git a/template/zol_template.xml b/template/zol_template.xml index 6b0efae..4ccfb26 100644 --- a/template/zol_template.xml +++ b/template/zol_template.xml @@ -1,7 +1,7 @@ 4.0 - 2020-11-12T14:41:00Z + 2021-01-04T21:27:59Z Templates @@ -11,7 +11,9 @@