added curl for rhel
This commit is contained in:
2
snmp.sh
2
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
|
||||
|
||||
Reference in New Issue
Block a user