summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2017-03-26 00:17:55 +0200
committerGitHub <noreply@github.com>2017-03-26 00:17:55 +0200
commit1994f41b8a19e7c843b3d2b5a59dcd0c6aaa7e5b (patch)
tree93dfbe823fc2bb2f015a49ee134f6bd3624a0b9a /conf.d
parent097f9c3667dbc20c181da3c5e5e5cdd85abc843c (diff)
parent5ba248ecd55038de0744919f47c2b76c65f166ee (diff)
Merge pull request #2020 from ktsaou/master
ZFS plugin for Linux
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile.am1
-rw-r--r--conf.d/health.d/zfs.conf10
2 files changed, 11 insertions, 0 deletions
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index 0df2605370..f534299289 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -82,6 +82,7 @@ dist_healthconfig_DATA = \
health.d/squid.conf \
health.d/varnish.conf \
health.d/web_log.conf \
+ health.d/zfs.conf \
$(NULL)
if LINUX
diff --git a/conf.d/health.d/zfs.conf b/conf.d/health.d/zfs.conf
new file mode 100644
index 0000000000..af73824e67
--- /dev/null
+++ b/conf.d/health.d/zfs.conf
@@ -0,0 +1,10 @@
+
+ alarm: zfs_memory_throttle
+ on: zfs.memory_ops
+ lookup: sum -10m unaligned absolute of throttled
+ units: events
+ every: 1m
+ warn: $this > 0
+ delay: down 1h multiplier 1.5 max 2h
+ info: the number of times ZFS had to limit the ARC growth in the last 10 minutes
+ to: sysadmin