Cosium / zabbix_zfs-on-linux

zabbix template and user parameters to monitor zfs on linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot obtain file /proc/spl/kstat/zfs/test/io

gnordli opened this issue · comments

Hi.
I am using the latest Zabbix 5.4 with the template and it is continually showing the following in the logs:

2021/10/18 16:31:00.000611 check 'vfs.file.contents[/proc/spl/kstat/zfs/test/io]' is not supported: Cannot obtain file /proc/spl/kstat/zfs/test/io information: stat /proc/spl/kstat/zfs/test/io: no such file or directory

any thoughts?
thanks,
Geoff

I went into the template and change all the:

<key>vfs.file.contents[/proc/spl/kstat/zfs/{#POOLNAME}/io]</key>

to:

<key>vfs.file.contents[/proc/spl/kstat/zfs/{#POOLNAME}/iostats]</key>

that gets rid of the errors in the log.

Not sure why none of the zpool iostats items are showing up in my configuration though. So this is just getting rid of the error, doesn't actually fix anything.