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

Dublicated discovery items for {#POOLNAME} and {#FILESETNAME}

jurim76 opened this issue · comments

Zabbix throws an error for zpool discovery, if zfs pool and zfs dataset have the same name.

As example, proxmox zfs layout
zpool list rpool NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT rpool 952G 3.29G 949G - - 2% 0% 1.00x ONLINE -
zfs list rpool NAME USED AVAIL REFER MOUNTPOINT rpool 3.29G 919G 104K /rpool

ZFS: Zfs Pool discovery
Cannot create item: item with the same key "zfs.get.fsinfo[rpool,available]" already exists.
Cannot create item: item with the same key "zfs.get.fsinfo[rpool,used]" already exists.