2,187
edits
(→Install VM Tools: Added "Ubuntu 10.04.1 LTS") |
(Added "SNMP") |
||
Line 136: | Line 136: | ||
#* Use <code> 0 </code> so that files are removed regardless of age. | #* Use <code> 0 </code> so that files are removed regardless of age. | ||
#* Use <code> -1 </code> so that no files are removed. | #* Use <code> -1 </code> so that no files are removed. | ||
== SNMP == | |||
=== Setup === | |||
# Run the following command to update the package database | |||
#* <code> apt-get update </code> | |||
# Run the following command to install SNMP | |||
#* <code> apt-get install snmpd </code> | |||
# Create config file with contents as below | |||
#* <code> vi /etc/snmp/snmp.conf </code> | |||
# Edit SNMPD config to allow remote polls | |||
#* <code> vi /etc/default/snmpd </code> | |||
# Remove <code> 127.0.0.1 </code> from line below | |||
#* <code> SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' </code> | |||
# Restart SNMP | |||
#* <code> /etc/init.d/snmpd restart </code> | |||
# Test with the following, replacing <hostname> with server's hostname | |||
#* <code> snmpd options (use syslog, close stdin/out/err). </code> | |||
#* <code> snmpwalk -v 1 -c public -O e <hostname> </code> | |||
rocommunity public | |||
syslocation "CR DC" | |||
syscontact info@sandfordit.com | |||
== MySQL == | == MySQL == |