I'm trying to monitor a virtual machine from another. have two ubuntu virtual machines one with the zabbix server and another with the zabbix agent.
but after setting up my agent by using my public ip i get this error :Received empty response from Zabbix Agent at [192.168.x.x]. Assuming that agent dropped connection because of access permissions.
in /etc/zabbix/zabbix_agentd
i changed my server to server= 127.0.0.1,192.168.x.x
and i turned off my firewall just in case.
My agent status: If you are familiar please help and /var/log/zabbix_agentd.log
In logs you got:
The log itself tells you what host is trying to connect and what hosts are allowed :)
It's trying to connect x.x.x.2 and the allowed host in the config is x.x.x.3. Change agent config 192.168.243.2 to 192.168.243.3 +restart and it should work