Update zabbix_agent.sh

This commit is contained in:
2018-12-18 15:01:08 -05:00
parent b82ca6a01e
commit 90fbbd1e42

View File

@@ -28,11 +28,12 @@ elif [ -f /etc/redhat-release ]; then
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>zabbix agent</short>
<description>zabbix agent/description>
<description>zabbix agent</description>
<port protocol="tcp" port="10050"/>
<port protocol="udp" port="10050"/>
</service>
EOF
sleep 5
firewall-cmd --add-service=zabbix-agent --permanent
firewall-cmd --reload
else