From d6cb0547ef95a3cd7816487d04fe4620d3d3ccfe Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Sat, 19 Nov 2022 17:21:59 -0500 Subject: [PATCH] added curl for rhel --- snmp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snmp.sh b/snmp.sh index 16689f6..c578901 100644 --- a/snmp.sh +++ b/snmp.sh @@ -16,7 +16,7 @@ if [ -f /etc/debian_version ]; then apt update apt install -y snmpd curl elif [ -f /etc/redhat-release ]; then - dnf install -y net-snmp net-snmp-utils + dnf install -y net-snmp net-snmp-utils curl firewall-cmd --zone=public --add-service=snmp --permanent firewall-cmd --reload else