2018-05-28 17:26:57 +02:00
|
|
|
# Discover ZFS zpools
|
|
|
|
# $1 not used for now
|
2019-09-20 10:39:07 +02:00
|
|
|
UserParameter=vfs.zfs.discovery[*],/var/lib/zabbix/bin/disco_zfs --$1
|
2018-05-28 17:26:57 +02:00
|
|
|
|
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# You can also get all the info about a zpool at once, in JSON
|
2019-09-20 10:39:07 +02:00
|
|
|
UserParameter=vfs.zfs.zpool.info[*],/var/lib/zabbix/bin/check_zfs --zpool=$1
|
2018-05-28 17:26:57 +02:00
|
|
|
|
2019-09-20 10:39:07 +02:00
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# FS, Zvol or Snap info in JSON
|
|
|
|
UserParameter=vfs.zfs.dataset.info[*],/var/lib/zabbix/bin/check_zfs --dataset=$1
|
2019-09-21 16:10:40 +02:00
|
|
|
|
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# Sanoïd snapshot monitoring
|
|
|
|
UserParameter=vfs.zfs.sanoid.check[*],/var/lib/zabbix/bin/check_zfs --sanoid=$1
|
2019-10-11 11:41:05 +02:00
|
|
|
|
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# ARC stats
|
|
|
|
UserParameter=vfs.zfs.stats.all[*],/var/lib/zabbix/bin/check_zfs --stats=$1
|