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

Pool health monitoring broke under Zabbix 6.0 #47

Open
danboid opened this issue Feb 23, 2024 · 2 comments
Open

Pool health monitoring broke under Zabbix 6.0 #47

danboid opened this issue Feb 23, 2024 · 2 comments

Comments

@danboid
Copy link

danboid commented Feb 23, 2024

This template used to work fine for me under Zabbix 4.0 but I discovered today that the pool health monitoring broke when I upgraded my Zabbix server to 6.0.

From looking at other recently reported issues and reading

https://www.zabbix.com/documentation/4.0/en/manual/installation/upgrade_notes_400#deprecated-macros-in-item-names

My guess was that I needed to replace

# pool health
UserParameter=zfs.zpool.health[*],/sbin/zpool list -H -o health $1

in ZoL_without_sudo.conf with:

# pool health
UserParameter=zfs.zpool.health[*],/sbin/zpool list -H -o health "{#POOLNAME}"

but that hasn't fixed it, after restarting zabbix-agent2.

I think this template provides more info than I need but its useless to me if the pool health check doesn't work.

@danboid danboid changed the title Pool health broke under Zabbix 6.0 Pool health monitoring broke under Zabbix 6.0 Feb 23, 2024
@danboid
Copy link
Author

danboid commented Feb 26, 2024

It looks like the dev has stopped supporting this template?

I've not tested it yet but it seems users of Zabbix 6 should use this instead:

https://github.com/zabbix/community-templates/tree/main/Operating_Systems/Linux/template_zfs_on_linux/6.0

@justinclift
Copy link

The fork here looks to be fixed for some issues:

https://github.com/mpawlik/zabbix_zfs-on-linux

Haven't actually tested it personally though (yet).

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

No branches or pull requests

2 participants