-
Change Request
-
Resolution: Fixed
-
Minor
-
None
-
None
-
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
It is possible add in to directory /etc/firewalld/services/ FirewallD definition file for Zabbix ?
This XML file add to RPM package zabbix-server-mysql-3.X.el7.x86_64. FriewallD is default firewall in RHEL 7 and CentOS 7.
cat /etc/firewalld/services/zabbix.xml <?xml version="1.0" encoding="utf-8"?> <service> <short>Zabbix</short> <description>Allow services for Zabbix server and agent</description> <port protocol="tcp" port="10050"/> <port protocol="tcp" port="10051"/> </service>
It is then allowed Zabbix communication very simple.
firewall-cmd --zone=public --permanent --add-service=zabbix
and
firewall-cmd --list-all