2,187
edits
(→SNMP: Added note on potentially existing SNMP install in non-default location) |
m (→Setup: Formatting) |
||
Line 150: | Line 150: | ||
#* <code> vi /etc/default/snmpd </code> | #* <code> vi /etc/default/snmpd </code> | ||
# Remove <code> 127.0.0.1 </code> from line below | # Remove <code> 127.0.0.1 </code> from line below | ||
#* <code> <nowiki>#</nowiki>snmpd options (use syslog, close stdin/out/err). </code> | |||
#* <code> SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' </code> | #* <code> SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' </code> | ||
# Restart SNMP | # Restart SNMP | ||
#* <code> /etc/init.d/snmpd restart </code> | #* <code> /etc/init.d/snmpd restart </code> | ||
# Test with the following, replacing <hostname> with server's hostname | # Test with the following, replacing <hostname> with server's hostname | ||
#* <code> snmpwalk -v 1 -c public -O e <hostname> </code> | #* <code> snmpwalk -v 1 -c public -O e <hostname> </code> | ||