Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hosts.get #32

Open
encircles opened this issue Jun 7, 2020 · 1 comment
Open

hosts.get #32

encircles opened this issue Jun 7, 2020 · 1 comment

Comments

@encircles
Copy link

How do I get the SelectInterfaces in the results?

@user340
Copy link
Contributor

user340 commented Jun 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants