hosts.get
encircles opened this issue · 1 comments
encircles commented
How do I get the SelectInterfaces in the results?
user340 commented
Hello @encircles ,
Host object has no "SelectInterfaces" property.
https://www.zabbix.com/documentation/2.2/manual/api/reference/host/object
But you can use same name property to host.get
request parameter.
https://www.zabbix.com/documentation/2.2/manual/api/reference/host/get#parameters
Are you want to get host interface information by host ID or item ID? If so, you can use hostinterface.get
API. Unfortunately, this API is not implemented by go-zabbix yet.
https://www.zabbix.com/documentation/2.2/manual/api/reference/hostinterface/get#parameters