removed firewall and added d mkdir for the missing dir
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user