Update snmp.sh

This commit is contained in:
2018-12-12 19:57:19 -05:00
parent e3d80ba745
commit e9c1755d98

View File

@@ -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