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
|
apt update
|
||||||
# install the agent
|
# install the agent
|
||||||
apt install -y zabbix-agent
|
apt install -y zabbix-agent
|
||||||
# firewall-cmd
|
# make a dir
|
||||||
ufw allow zabbix-agent
|
mkdir /etc/zabbix/zabbix_agentd.d
|
||||||
|
|
||||||
|
|
||||||
elif [ ${OS} == 'Ubuntu' ]; then
|
elif [ ${OS} == 'Ubuntu' ]; then
|
||||||
# Install the repository configuration package. This package contains apt (software package manager) configuration files.
|
# Install the repository configuration package. This package contains apt (software package manager) configuration files.
|
||||||
@@ -55,8 +56,6 @@ elif [ ${OS} == 'Ubuntu' ]; then
|
|||||||
apt update
|
apt update
|
||||||
# install the agent
|
# install the agent
|
||||||
apt install -y zabbix-agent
|
apt install -y zabbix-agent
|
||||||
# firewall-cmd
|
|
||||||
ufw allow zabbix-agent
|
|
||||||
|
|
||||||
elif [ ${OS} == 'CentOS' ]; then
|
elif [ ${OS} == 'CentOS' ]; then
|
||||||
# Install the repository configuration package. This package contains yum (software package manager) configuration files.
|
# Install the repository configuration package. This package contains yum (software package manager) configuration files.
|
||||||
|
|||||||
Reference in New Issue
Block a user