Hello,
I am trying to create an item and trigger inside Zabbix (7.2 version, but would like it to work 6.0+)

(As we can see they are not reflecting total amount used 2.46gb)
zfs.test.avail.bytes and zfs.test.used.bytes, I was able to get their OIDs using "snmpwalk -v2c -c public truenas-ip"
I want this percentage to reflect in Zabbix from TrueNAS using zfs.test.avail.bytes and zfs.test.used.bytes. I want a trigger in place that says when it is above >X%
I thought this would work:
100 * last("zfs.test.used.bytes") / (last("zfs.test.used.bytes") + last("zfs.test.avail.bytes"))
But I am getting bad output.

Goal:
Monitor storage pools, when datasets make the pool full an item in zabbix will make a trigger go off saying it is above >X%
I am trying to create an item and trigger inside Zabbix (7.2 version, but would like it to work 6.0+)
(As we can see they are not reflecting total amount used 2.46gb)
zfs.test.avail.bytes and zfs.test.used.bytes, I was able to get their OIDs using "snmpwalk -v2c -c public truenas-ip"
I want this percentage to reflect in Zabbix from TrueNAS using zfs.test.avail.bytes and zfs.test.used.bytes. I want a trigger in place that says when it is above >X%
I thought this would work:
100 * last("zfs.test.used.bytes") / (last("zfs.test.used.bytes") + last("zfs.test.avail.bytes"))
But I am getting bad output.
Goal:
Monitor storage pools, when datasets make the pool full an item in zabbix will make a trigger go off saying it is above >X%
Comment