Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gnordli opened this issue Oct 18, 2021 · 2 comments · May be fixed by #35
Open

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

gnordli opened this issue Oct 18, 2021 · 2 comments · May be fixed by #35

Comments

@gnordli
Copy link

gnordli commented Oct 18, 2021

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

@gnordli
Copy link
Author

gnordli commented Oct 19, 2021

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.

@MrNinso MrNinso linked a pull request Dec 17, 2021 that will close this issue
@darek-margas
Copy link

I've added another PR to fix it without multiple commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants