ansible-collections / community.zabbix

Zabbix Ansible modules
http://galaxy.ansible.com/community/zabbix
Other
322 stars 284 forks source link

Support for Zabbix native HA on server and proxies #999

Closed damo2929 closed 1 year ago

damo2929 commented 1 year ago
SUMMARY

Zabbix added native HA support in version 6 of Zabbix however, looking at the templates for the server and proxy and I don't see the new keys to support it.

ISSUE TYPE
COMPONENT NAME

Server, proxy ,agent

david-sieg commented 1 year ago

Hi,

you need two parameters: HANodeName & NodeAddress Zabbix Proxy isn't HA for now...

https://github.com/ansible-collections/community.zabbix/blob/c6df01d09d9d9f07352fa54217247c1ed48a7f87/roles/zabbix_server/templates/zabbix_server.conf.j2#L34

https://github.com/ansible-collections/community.zabbix/blob/c6df01d09d9d9f07352fa54217247c1ed48a7f87/roles/zabbix_server/templates/zabbix_server.conf.j2#L54

Other stuff is Proxy and Agent config.

see: https://www.zabbix.com/documentation/current/en/manual/concepts/server/ha

pyrodie18 commented 1 year ago

@damo2929 give that a try and let us know if you're still having issues.

pyrodie18 commented 1 year ago

No reply, feel free to re-open if you find more information.