zabbix-tools / go-zabbix

Go bindings for the Zabbix API
GNU General Public License v2.0
108 stars 70 forks source link

Added support for host interfaces and more metadata on hosts #44

Closed fabiang closed 2 years ago

fabiang commented 3 years ago

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.

fabiang commented 3 years ago

Had a spelling error ErrorForm vs ErrorsFrom. That field is now custom time field.

nikaro commented 2 years ago

@cavaliercoder would you mind merging this one please?