Skip to content
zabbix template for zfs on linux
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
template_zfs.xml
userparameter_zfs.conf

README.md

zabbix template for zfs on linux

this template uses zpool, zfs and zvol discovery so you will have information about important zpool and zfs items available by default. on top of that, you can easily create your own items and triggers by having zabbix keys available to get zpool and zfs properties that are exposed via the zpool and zfs binaries on your system.

items:

  • discovered: zpool information (health! and others)
  • discovered: zfs information (used, used by snapshots, avail and others)
  • discovered: zvol information (used, used by snapshots, used by children, avail and others)
  • zfs parameters (/sys/module/zfs/parameters/*). you can get these yourself by creating an item: zfs.parameter[<parametername>]
  • zfs properties (zfs get -o name,value,source,property <propertyname> <zfsname>). you can get these yourself by creating an item: zfs.get[<zfsname>,<propertyname>]
  • zpool properties (zpool get -o name,value,source,property <propertyname> <zpoolname>). you can get these yourself by creating an item: zpool.get[<zpoolname>,<propertyname>]

triggers:

  • discovered: zpool health

graphs:

  • discovered: overwiew for zpools
  • discovered: overview for zfs filesystems
  • discovered: overview for zfs zvols

custom:

  • roll your own by creating items, triggers and graphs with the use of zfs.get[zfsname,property], zpool.get[zpoolname,property] and zfs.parameter[parametername]

installation and usage

  1. place this file in /etc/zabbix/zabbix_agentd.conf.d/
  2. restart zabbix agent
  3. import the template.xml file in the zabbix gui
  4. in case the discovery items are not suffucient, roll your own. see the custom section

sources

You can’t perform that action at this time.