Hide Forgot
Description of problem: The zabbix agent cannot test connections to local network services: type=AVC msg=audit(1458492615.596:2749622): avc: denied { name_connect } for pid=32666 comm="zabbix_agentd" dest=993 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:pop_port_t:s0 tclass=tcp_socket type=AVC msg=audit(1458492616.722:2749629): avc: denied { name_connect } for pid=32666 comm="zabbix_agentd" dest=995 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:pop_port_t:s0 tclass=tcp_socket type=AVC msg=audit(1458492617.836:2749630): avc: denied { name_connect } for pid=32666 comm="zabbix_agentd" dest=25 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:smtp_port_t:s0 tclass=tcp_socket Version-Release number of selected component (if applicable): selinux-policy-3.13.1-60.el7_2.3.noarch
Never mind. These checks should be made "simple checks", not "zabbix agent" checks, and connections run from the server.
Actually, there is a good use case for running these checks from the agent - when the monitored machine is not running all the time. That way the checks won't be run when the machine is down.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2283.html