zabbix-gnomes icon indicating copy to clipboard operation
zabbix-gnomes copied to clipboard

zgetinventory and --all-hosts not working

Open intrepidsilence opened this issue 5 years ago • 4 comments

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.

intrepidsilence avatar Dec 31 '19 16:12 intrepidsilence

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 avatar Jan 13 '20 13:01 q1x

4.2.8 On Jan 13, 2020, 08:27 -0500, Raymond Kuiper [email protected], wrote:

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? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

intrepidsilence avatar Jan 13 '20 15:01 intrepidsilence

Any updates on this?

intrepidsilence avatar Apr 16 '20 15:04 intrepidsilence

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

st3rven avatar May 13 '20 20:05 st3rven