zabbix / community-templates

Zabbix Community Templates repository
https://share.zabbix.com
MIT License
1.32k stars 1.8k forks source link

How do we install this template to monitor ZFS on Linux in Zabbix? #168

Open greavette opened 1 year ago

greavette commented 1 year ago

Hello,

How do we install the community template to monitor ZFS on Linux in Zabbix?

https://github.com/zabbix/community-templates/tree/main/Operating_Systems/Linux/template_zfs_on_linux/6.0

There is a YAML file but what do we do with the other files?

Thank you.

paramazo commented 5 months ago

I imported the yml and ignored the other files. I assigned the template to a host which is running zfs. There is a red error flag in the latest data for all the ZFS items which prints unsupported item key.

Anyone managed to setup Zabbix to monitor a ZFS storage on debian?

//

  1. Download theuserparams_zol_without_sudo.conf, maybe you need to update some paths in file content (/sbin/zfs and /sbin/zpool to /usr/sbin/zfs and /usr/sbin/zpool)
  2. Copy the file to your zabbix agent host as /etc/zabbix/zabbix_agentd.conf.d/userparams_zol_without_sudo.conf
  3. Restart your zabbix-agent

Now i can observe some values in my zabbix webinterface.