From 58099962b7209537bedbcab1beb58f13cb8ce637 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Mon, 23 Aug 2021 16:36:13 -0400 Subject: [PATCH] removed firewall and added d mkdir for the missing dir --- zabbix_agent.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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.