Skip to content

Pool health monitoring broke under Zabbix 6.0 #47

@danboid

Description

@danboid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions