zabbix-tools / go-zabbix

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

Added `Inventory` to Host struct #45

Closed fabiang closed 1 year ago

fabiang commented 3 years ago

Data is populated then when SelectInventory on HostGetParams is used. The Zabbix documentation says that all fields are strings.

imbouncin commented 1 year ago

any hopes for merging this change?

imbouncin commented 1 year ago

btw i think there's another fix has to be made in Host struct: now its InventoryMode int json:"inventory_mode", should be InventoryMode int json:"inventory_mode,string"