Update snmp.sh
This commit is contained in:
2
snmp.sh
2
snmp.sh
@@ -18,6 +18,8 @@ if [ -f /etc/debian_version ]; then
|
||||
apt install -y snmpd curl
|
||||
elif [ -f /etc/redhat-release ]; then
|
||||
yum install -y net-snmp net-snmp-utils
|
||||
firewall-cmd --zone=public --add-port=161/udp --permanent
|
||||
firewall-cmd --reload
|
||||
else
|
||||
echo "Unable to determine linux distro"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user