Dusan Matejka
Dusan Matejka
Added some more details to in the comment at https://support.zabbix.com/browse/ZBX-18758. Hoping for a reply
> https://www.zabbix.com/documentation/current/manual/api/changes_5.2_-_5.4 is of interest. @klando not exactly sure what line to look at there. It doesn't seem that any of them confirms that proxy was migrated to using hostinterface,...
Tests seems to be correct for zabbix_proxy module again (They were disabled but @BGmot made some good changes and everything seems to work correctly). Although the upstream bug is still...
Thank you for reporting this @ironbishop. Seems that original module design assumed that few parameters would always be updated no matter what ([zabbix_host.py:L521](https://github.com/ansible-collections/community.zabbix/blob/master/plugins/modules/zabbix_host.py#L521) specifically). Looking at the [host.update](https://www.zabbix.com/documentation/4.4/manual/api/reference/host/update) API documentation,...
@ironbishop I must be doing something wrong. I've now tried to setup both network discovery and auto registration, but every time my hosts tab gets populated by a new host...
> /EDIT: couldn't let it go and tried it. If groups field is removed from api call all is good, groups don't get updated/removed. > So I had a look...
> What about just passing the module object to the functions additionally? So you could check it in the function, while also keeping the basic structure for now. > >...
> Wait. There should not be a default at all, and it cannot be empty, because at least 1 group is mandatory for all hosts in Zabbix. > Yes, my...
Thank you for bringing this to our attention! Definitely looks like a bug. Can you also share zabbix version this happens on? Major.minor is enough for us to reproduce usually
> We have this test https://github.com/ansible-collections/community.zabbix/blob/main/tests/integration/targets/test_zabbix_usergroup/tasks/main.yml#L70 > > Never fails. > > Moreover in your code you are trying to give read-only and read-write permissions to the same host_group. >...