parent
b93befd9ee
commit
c55f5fde84
|
|
@ -37,6 +37,7 @@ fi
|
||||||
sudo cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.bak
|
sudo cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.bak
|
||||||
sudo curl -L -o /etc/snmp/snmpd.conf https://git.tobyliu.com/toby/common-tools/raw/branch/main/snmpd.conf
|
sudo curl -L -o /etc/snmp/snmpd.conf https://git.tobyliu.com/toby/common-tools/raw/branch/main/snmpd.conf
|
||||||
sudo systemctl restart snmpd
|
sudo systemctl restart snmpd
|
||||||
|
sudo systemctl enable snmpd
|
||||||
|
|
||||||
if command -v firewall-cmd >/dev/null 2>&1
|
if command -v firewall-cmd >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue