HI all,
I just successfuly upgrade my Zabbix 6.0 LTS -> Zabbix 7.0 LTS OS ROcky 8, I will have to update nginx version to 1.20 php to 8.0.30 timescaldb for pgsql 2.16.1 ALL seems to be OK
But I use Ansible with zabbix module for provisionning host, group_host etc... And I try to launch the playbook but I have an error The error was: KeyError: 'proxy_hostid
"module_stderr": "Traceback (most recent call last):\n File "/home/XXXX/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 107, in <module>\n _ansiballz_main()\n File "/home/m00795/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/m00795/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.com munity.zabbix.plugins.modules.zabbix_host', init_globals=dict(_module_fqn='ansible_collections .community.zabbix.plugins.modules.zabbix_host', _modlib_path=modlib_path),\n File "<frozen runpy>", line 226, in run_module\n File "<frozen runpy>", line 98, in _run_module_code\n File "<frozen runpy>", line 88, in _run_code\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 1250, in <module>\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 1198, in main\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 738, in check_all_properties\nKeyError: 'proxy_hostid'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
I was on a old version of ansible and zabbix module (2.2) but aI try to upgrade my virtual env ansible to 11 and module zabbix to 3.1.2 but same problem...
I try to remove the proxy but the same...
Do you have an idea please?
Thanks in advance and have a good day
I just successfuly upgrade my Zabbix 6.0 LTS -> Zabbix 7.0 LTS OS ROcky 8, I will have to update nginx version to 1.20 php to 8.0.30 timescaldb for pgsql 2.16.1 ALL seems to be OK

But I use Ansible with zabbix module for provisionning host, group_host etc... And I try to launch the playbook but I have an error The error was: KeyError: 'proxy_hostid
"module_stderr": "Traceback (most recent call last):\n File "/home/XXXX/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 107, in <module>\n _ansiballz_main()\n File "/home/m00795/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/m00795/.ansible/tmp/ansible-local-2766327k7qskact/ansible-tmp-1730910245.2177718-2766458-34145667865407/AnsiballZ_zabbix_host.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.com munity.zabbix.plugins.modules.zabbix_host', init_globals=dict(_module_fqn='ansible_collections .community.zabbix.plugins.modules.zabbix_host', _modlib_path=modlib_path),\n File "<frozen runpy>", line 226, in run_module\n File "<frozen runpy>", line 98, in _run_module_code\n File "<frozen runpy>", line 88, in _run_code\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 1250, in <module>\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 1198, in main\n File "/tmp/ansible_community.zabbix.zabbix_host_payload_6dv1g t6j/ansible_community.zabbix.zabbix_host_payload.zip/ansible_collections/community/zabbix/plugins/modules/zabbix_host.py", line 738, in check_all_properties\nKeyError: 'proxy_hostid'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
I was on a old version of ansible and zabbix module (2.2) but aI try to upgrade my virtual env ansible to 11 and module zabbix to 3.1.2 but same problem...
I try to remove the proxy but the same...
Do you have an idea please?
Thanks in advance and have a good day
Comment