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

zgetinventory and --all-hosts not working #17

Open
intrepidsilence opened this issue Dec 31, 2019 · 4 comments
Open

zgetinventory and --all-hosts not working #17

intrepidsilence opened this issue Dec 31, 2019 · 4 comments
Assignees

Comments

@intrepidsilence
Copy link

Do all of the hosts need to be in a specific host group for this to work? I get no results when using --all-hosts -A as the flags. I see that it is using the api to do a zapi.host.get() for the --all-hosts flag and when I user zapi.py interactviely and perform a "z host.get()" it works fine.

@q1x
Copy link
Owner

q1x commented Jan 13, 2020

Hi, thanks for the report!

I've just tested against a Zabbix 3.0.28 instance and this seems to be working.
What version of Zabbix are you using?

@q1x q1x self-assigned this Jan 13, 2020
@intrepidsilence
Copy link
Author

intrepidsilence commented Jan 13, 2020 via email

@intrepidsilence
Copy link
Author

Any updates on this?

@st3rven
Copy link

st3rven commented May 13, 2020

Hello, I using version 4.0.17, and in zgetinventory I don't see an option that allows bringing all groups in the same query.
To clarify, I can make queries by group without problem, but I ask if it is possible to query all the hosts in the same query with the idea of generating a single file of all the computers in zabbix

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

3 participants