I've updated my previous PR #19 with support for Zabbix 5.4. They removed "availability" from the hosts object in Zabbix 5.4, so you need to query all interfaces now to see if any interface is available (and therefor the host). For compatibility with Zabbix 5.0 LTS I'm keeping the field "Available" in the host object.
I've updated my previous PR #19 with support for Zabbix 5.4. They removed "availability" from the hosts object in Zabbix 5.4, so you need to query all interfaces now to see if any interface is available (and therefor the host). For compatibility with Zabbix 5.0 LTS I'm keeping the field "Available" in the host object.