Add FirewallD services to Zabbix RHEL 7 package

XMLWordPrintable

    • Type: Change Request
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Server (S)
    • Environment:
      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
      

        1. zabbix.xml
          0.2 kB
          Lukáš Malý

            Assignee:
            Unassigned
            Reporter:
            Lukáš Malý
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: