Closed danboid closed 5 years ago
Currently, the only bit of ZFS data I am getting under zabbix is the ZFS on Linux version.
I may be able to fix this by changing everything from active to passive checks but I'd like to know what the proper solution is.
I am using the ZoL_with_sudo.conf userparameters file, seeing as zpool and zfs are located under /sbin under PVE.
Oops!
I had copied the user parameters file into the sudoers.d dir by mistake. After copying it to the right place and restarting it looks like its working now.
hey @danboid ,
Just a quick note about the usage of sudo. On Ubuntu 18.04, you have ZoL version 0.7+, so you don't need sudo. The fact that the "zfs" and "zpool" binaries are in "/sbin" doesn't matter.
You should remove the sudo rights and directly use the ZoL_without_sudo.conf parameter file (don't forget to remove the other one).
Thanks for the tip but the ZoL host I'm monitoring is Debian 9.
Oh sorry I misread. If you can, I would install ZoL from the Debian backports to get ZoL 0.7.12, which is a lot better than the outdated 0.6.5 that is in the standard repository.
I'm pretty sure proxmox package their own kernel and ZFS packages in their repo, which are likely as up to date as backports. Best stick with theirs.
It may be a good idea to check the version shipped with proxmox then, they may well use the 0.7 branch ;)
It definitely is using 0.7, I'm not not sure of the micro version.
Hi @AceSlash !
Thanks for writing and sharing this zabbix ZoL template, unfortunately it isn't working properly for me yet.
Before I get onto my actual problem, could you please update the description on https://share.zabbix.com/zfs-on-linux from:
"The documentation has moved to github: https://github.com/AceSlash/zabbix_zfs-on-linux" to something like:
"Please use the newer version of this template available from https://github.com/AceSlash/zabbix_zfs-on-linux"
I am running zabbix 4.0 under Ubuntu 18.04. The ZoL host I'm trying to monitor is proxmox VE / Debian 9. I removed the older version of your template and user parameters and replaced them with the updated ones from this repo, but after restarting the zabbix agent on my PVE server I see these errors in the zabbix-agent log:
Thanks for your help!