Item "Get iostats" in ZFS pool discovery fix
cmbcbe opened this issue · comments
Cédric MARCOUX commented
Hello,
the item "Zpool {#POOLNAME}: Get iostats" in ZFS discovery pool value should be changed from
vfs.file.contents[/proc/spl/kstat/zfs/{#POOLNAME}/io]
to
vfs.file.contents[/proc/spl/kstat/zfs/{#POOLNAME}/iostats]
Regards
kobuki commented
This fix doesn't work in itself. I had to change the base item key to
vfs.file.regexp[/proc/spl/kstat/zfs/rpool/iostats,"^[0-9]"]
to only return the first line of the file. Then the dependent items work, but always show zero IO operations. Something must have changed in the format of the stats file. Using Zabbix 5.0.27.