I have my Agent / Server configured correctly, I know this because it was working. I just made changes to the firewall on the agent side restricting access on port 10050, but permitting the Server access like so:
$ firewall-cmd --new-zone=zabbix
$ firewall-cmd --reload
$ firewall-cmd --get-zones
$ firewall-cmd --permanent --zone=zabbix --add-rich-rule='
rule family="ipv4"
source address="<<server_ip>>"
port protocol="tcp" port="10050" accept'
$ firewall-cmd --reload
$ firewall-cmd --zone=zmonitor --list-all
Now there is a communication issue. The agent log is reporting the following:
no active checks on server [<<server_ip>>:10051]: host [<<hostname>>.local] not found
The sever is reporting the following:
cannot send list of active checks to "<<agent_ip>>": host [<<hostname>>.local] not found
Zabbix Web Server reports the following issue:
Get value from agent failed: cannot connect to [[<<Agent_IP>>]:10050]: [113] No route to host
What is wrong with --add-rich-rule
?