diff --git a/zabbix_agent.sh b/zabbix_agent.sh index bdcb497..7b5bb9f 100644 --- a/zabbix_agent.sh +++ b/zabbix_agent.sh @@ -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.