feat: add Zabbix 7 API compatibility and proxy group support - #1026
feat: add Zabbix 7 API compatibility and proxy group support#1026mouchymouchy wants to merge 2 commits into
Conversation
778f2d3 to
d7c2a01
Compare
|
Hi everyone
I added optionnal support of proxygroup on zabbix 7+ release to continue suporting zabbix 6 version. |
25a5b46 to
63bb68a
Compare
Update the zabbix_host provider to use the new Zabbix 7 API fields: - Replace deprecated proxy_hostid with proxyid - Add proxy_groupid and monitored_by fields for proxy group support - Add proxygroup property to zabbix_host type - Fix interfacedetails insync? comparison to use sorted comparison - Add monitored_by_group parameter to agent class and resources
63bb68a to
4ef9791
Compare
cvquesty
left a comment
There was a problem hiding this comment.
I got a little lost in the toe, so I'm going to lean on the quality of your tests to tell me "it's ok". Otherwise, all looks good.
|
I tried your branch, but it failed compatibility with puppetapi I did not find reference to this anywhere, but sorry if this is a duplicate I missed... I just opened an issue for this version to be released on rubygems.org: |
|
@mouchymouchy Sorry, I just found a bug in your PR. When zabbix clients talk directly to the server, this error is raised: You define the
If I enter manually EDIT: just to be clear, the problem is in this file: |
See my comment in voxpupuli#1026
Pull Request (PR) description
Update the zabbix_host provider to use the new Zabbix 7 API fields: