Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-3585

Add FirewallD services to Zabbix RHEL 7 package

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Server (S)
    • 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ý

            Unassigned Unassigned
            lukas.maly Lukáš Malý
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: