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

Add FirewallD services to Zabbix RHEL 7 package

    XMLWordPrintable

Details

    • Change Request
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Server (S)
    • cat /etc/redhat-release
      CentOS Linux release 7.2.1511 (Core)

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: