-
Notifications
You must be signed in to change notification settings - Fork 51
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
Issue "Get iostats" in ZFS pool discovery #43
Comments
Than we should change to content of the template and replace Since it is your created issue @francescoveroli, would you like to create a change request? |
Thanks @stevleibelt for your quick replay. I will wait before the change request as the issue still on going, ill be happy to commit it once is fixed ;) this is the format of my file iostats: 25 1 0x01 18 4896 5522661940 12146491108198623
name type data
trim_extents_written 4 0
trim_bytes_written 4 0
trim_extents_skipped 4 0
trim_bytes_skipped 4 0
trim_extents_failed 4 0
trim_bytes_failed 4 0
autotrim_extents_written 4 0
autotrim_bytes_written 4 0
autotrim_extents_skipped 4 0
autotrim_bytes_skipped 4 0
autotrim_extents_failed 4 0
autotrim_bytes_failed 4 0
simple_trim_extents_written 4 0
simple_trim_bytes_written 4 0
simple_trim_extents_skipped 4 0
simple_trim_bytes_skipped 4 0
simple_trim_extents_failed 4 0
simple_trim_bytes_failed 4 0
at the path and the conf of my item prototypes: and so the preprocessing process: and im still facing the same issue: what should i expect? Thanks in advance |
I must admit, I have no idea what to expect. Once upon a time, I had a local Zabbix, than things happened and since than, I had no time to get it back online. Or in short, I am currently not using this code here. Maybe @AceSlash knows the answer? It looks like he is the one contributed most of this project code base. |
I'm now testing using zpool iostat: UserParameter=zfs.zpool.iostat[*],/sbin/zpool iostat -Hp $1 And then a master item: and etc |
Hello,
i am using:
target Server= Ubuntu 20.04
zabbix_server (Zabbix) 5.4.12
zabbix_agentd (daemon) (Zabbix) 4.0.17
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]
once i change it i am getting this error:
i can't modify the file manually as is autogenereted from the kernel.
i have tryed this too:
vfs.file.regexp[/proc/spl/kstat/zfs/rpool/iostats,"^[0-9]"]
it makes switch off the agent getting this error:
any help?
thanks
The text was updated successfully, but these errors were encountered: