I'm getting permission denied in /var/log/zabbix/zabbix_agentd.log:
And in /var/log/audit/audit.log, I have this:
I can see that my server port is open by using nmap -v DOMAIN -pPORT and I can see that my Zabbix Agent port is open but using nmap -v DOMAIN -pPORT.
How can I fix this?
EDIT: I managed to get rid of the SELinux issue, but I still can't connect. I see both server and agent ports open but I can't get data in my server. I keep getting this in my server:
EDIT2: I raised timeout from 4 to 8 seconds and now it's working.
Code:
active check configuration update from [DOMAIN:PORT] started to fail (cannot connect to [[DOMAIN]:PORT]: [13] Permission denied)
Code:
avc: denied { name_connect } for pid=46635 comm="zabbix_agentd" dest=PORT scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket
How can I fix this?
EDIT: I managed to get rid of the SELinux issue, but I still can't connect. I see both server and agent ports open but I can't get data in my server. I keep getting this in my server:
Code:
Get value from agent failed: ZBX_TCP_READ() timed out
EDIT2: I raised timeout from 4 to 8 seconds and now it's working.