zabbix-gnomes
zabbix-gnomes copied to clipboard
zgetinventory and --all-hosts not working
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.
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?
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.
Any updates on this?
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