removed firewall and added d mkdir for the missing dir

This commit is contained in:
2021-08-23 16:36:13 -04:00
parent 0d117e682a
commit 58099962b7

View File

@@ -42,8 +42,9 @@ if [ ${OS} == 'Debian' ]; then
apt update
# install the agent
apt install -y zabbix-agent
# firewall-cmd
ufw allow zabbix-agent
# make a dir
mkdir /etc/zabbix/zabbix_agentd.d
elif [ ${OS} == 'Ubuntu' ]; then
# Install the repository configuration package. This package contains apt (software package manager) configuration files.
@@ -55,8 +56,6 @@ elif [ ${OS} == 'Ubuntu' ]; then
apt update
# install the agent
apt install -y zabbix-agent
# firewall-cmd
ufw allow zabbix-agent
elif [ ${OS} == 'CentOS' ]; then
# Install the repository configuration package. This package contains yum (software package manager) configuration files.