Open
Description
Hello,
I have a problem with the verify tasks
check from the host
TASK [zabbix.zabbix.agent : Verify : Zabbix_get : Local : Agent variant] ******************************************************************
fatal: [fire.5ok.network]: FAILED! => {"changed": false, "cmd": ["/usr/bin/zabbix_get", "-k", "agent.variant", "-s", "{{ ansible_host }}", "-t", "5", "-p", "10050"], "delta": "0:00:00.016051", "end": "2025-04-21 20:16:39.686389", "msg": "non-zero return code", "rc": 1, "start": "2025-04-21 20:16:39.670338", "stderr": "zabbix_get [4004920]: Check access restrictions in Zabbix agent configuration", "stderr_lines": ["zabbix_get [4004920]: Check access restrictions in Zabbix agent configuration"], "stdout": "", "stdout_lines": []}
The IP is {{ ansible_host }}
, in my case this is public ip of the server. But the configuration do not have allowed this IP in Server
configuration setting, so it will failed.
Fix fot this issue could be to allow 127.0.0.1
in Server config and change the task.
check from the local
TASK [zabbix.zabbix.agent : Verify : Zabbix_get : EE : Agent version] *********************************************************************
Actually this task will never end on my laptop. In my case I'm running this playbook from my laptop.
In another cases from the managemnt server, which differs from the zabbix server.
In both cases the verification will fail.
Please, is there any reason for this ?
Is there a way, tag to run all the stuff except the verify ?
Metadata
Metadata
Assignees
Labels
No labels