Zabbix module change: zabbix_host_info

17 views
Skip to first unread message

Arjan Goos

unread,
Jun 22, 2020, 3:57:16 AM6/22/20
to Ansible Development
I want to request an change for this module but I do not know how to do this.

In the zabbix_host_facts.py when an host is searched the groups are not queried. When an extra option is added the groups will be queried

128         host_list = self._zapi.host.get({'output': 'extend', 'selectGroups': 'extend', 'selectParentTemplates': ['name'], search_key: {'host': [host_name]},
129                                          'selectInventory': host_inventory})

Can someone help me to get this change in the next version?

John Barker

unread,
Jun 22, 2020, 11:21:50 AM6/22/20
to Ansible Development
Hi,
zabbix_host_facts is actually zabbix_host_info


If you raise a PR against the above file, then the Zabbix Working Group will help you get that code into the next release of the community.zabbix collection.

You might be interested in https://github.com/ansible-collections/community.zabbix/issues which shows the other things they are working on, which includes a load of Zabbix roles https://github.com/ansible-collections/community.zabbix/tree/master/roles

Kind regards,
John "gundalow" Barker
Principal Engineer
Ansible by Red Hat
Reply all
Reply to author
Forward
0 new messages