Difference between revisions of "Configuration (Ubuntu)"

Jump to navigation Jump to search
→‎Setup (Post v12 Ubunutu): Updated restart command
(→‎Deny a Specific Host: Updated with insert rule)
(→‎Setup (Post v12 Ubunutu): Updated restart command)
 
Line 153: Line 153:
#* <code>SNMPDOPTS='-LS0-5d -Lf /dev/null </code>
#* <code>SNMPDOPTS='-LS0-5d -Lf /dev/null </code>
# Restart SNMP
# Restart SNMP
#* <code> /etc/init.d/snmpd restart </code>
#* <code> systemctl restart snmpd </code>
# Test with the following, replacing <hostname> with server's hostname (must be run from a machine with snmp installed, not just snmpd)
# Test with the following, replacing <hostname> with server's hostname (must be run from a machine with snmp installed, not just snmpd)
#* <code> snmpwalk -v 1 -c public <hostname> system <hostname> </code>
#* <code> snmpwalk -v 1 -c public <hostname> system <hostname> </code>

Navigation menu