From 963427dc60cc4b46eb73476784b15eac5f584ece Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 11 Oct 2019 17:11:49 +0200 Subject: [PATCH] Add Zabbix template for ZFS --- zabbix-agent-addons.spec | 1 + zabbix_templates/Template_App_ZFS.xml | 6904 +++++++++++++++++++++++++++++++++ 2 files changed, 6905 insertions(+) create mode 100644 zabbix_templates/Template_App_ZFS.xml diff --git a/zabbix-agent-addons.spec b/zabbix-agent-addons.spec index e23842b..62504dd 100644 --- a/zabbix-agent-addons.spec +++ b/zabbix-agent-addons.spec @@ -90,6 +90,7 @@ fi %files %defattr(-,root,root,-) %doc README +%doc zabbix_templates/* %dir %attr(0750,zabbix,zabbix) %{_localstatedir}/lib/zabbix/bin %{_localstatedir}/lib/zabbix/bin/* %{perl_vendorlib} diff --git a/zabbix_templates/Template_App_ZFS.xml b/zabbix_templates/Template_App_ZFS.xml new file mode 100644 index 0000000..4494b8c --- /dev/null +++ b/zabbix_templates/Template_App_ZFS.xml @@ -0,0 +1,6904 @@ + + + 4.2 + 2019-10-11T15:08:42Z + + + Templates + + + + + + + + {Template_App_ZFS:vfs.zfs.stats[arcstats,l2_writes_error].last()}>0 or {Template_App_ZFS:vfs.zfs.stats[arcstats,l2_io_error].last()}>0 or {Template_App_ZFS:vfs.zfs.stats[arcstats,l2_cksum_bad].last()}>0 + 0 + + ZFS: l2arc errors detected + 0 + + + 0 + 3 + + 0 + 0 + + + + + {Template_App_ZFS:vfs.zfs.stats[arcstats,demand_data_hits_pct].avg(900)}<{$ZFS_ARC_HIT_DATA_PCT_WARN} + 0 + + ZFS: Low ARC data efficiency + 0 + + + 0 + 1 + + 0 + 0 + + + + + {Template_App_ZFS:vfs.zfs.stats[arcstats,hits_pct].avg(900)}<{$ZFS_ARC_HIT_PCT_WARN} + 0 + + ZFS: Low ARC global efficiency + 0 + + + 0 + 1 + + 0 + 0 + + + + + {Template_App_ZFS:vfs.zfs.stats[arcstats,demand_metadata_hits_pct].avg(900)}<{$ZFS_ARC_HIT_METADATA_PCT_WARN} + 0 + + ZFS: Low ARC metadata efficiency + 0 + + + 0 + 1 + + 0 + 0 + + + + + + + ZFS: ARC: Hits ratio + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + FF0000 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,hits_pct] + + + + 1 + 2 + BF00FF + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,demand_data_hits_pct] + + + + 2 + 2 + 0040FF + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,demand_metadata_hits_pct] + + + + 3 + 2 + FFBF00 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,l2_hits_pct] + + + + + + ZFS: ARC: sizes (data / metadata) + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,data_size] + + + + 1 + 0 + F63100 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,metadata_size] + + + + 2 + 0 + 2774A4 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,compress_win] + + + + + + ZFS: ARC: sizes (mfu / mru) + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + F63100 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,mfu_size] + + + + 1 + 0 + 1A7C11 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,mru_size] + + + + 2 + 0 + 2774A4 + 0 + 2 + 0 + + Template_App_ZFS + vfs.zfs.stats[arcstats,compress_win] + + + + + +