Difference between revisions of "Configuration (Ubuntu)"
Jump to navigation
Jump to search
m (→= To MySQL Database: Title fix) |
(→SNMP: Added Setup (Post v12)) |
||
Line 86: | Line 86: | ||
= SNMP = | = SNMP = | ||
Note that the way in which the SNMP daemon/agent needs to be configured varies between OS version. | |||
== Setup (Pre v10 Ubuntu) == | == Setup (Pre v10 Ubuntu) == | ||
# Run the following command to update the package database | # Run the following command to update the package database | ||
Line 107: | Line 109: | ||
syscontact info@sandfordit.com | syscontact info@sandfordit.com | ||
== Setup (v10 Ubuntu | == Setup (v10/v12 Ubuntu) == | ||
# Run the following command to update the package database | # Run the following command to update the package database | ||
#* <code> apt-get update </code> | #* <code> apt-get update </code> | ||
Line 137: | Line 139: | ||
syslocation "CR DC" | syslocation "CR DC" | ||
syscontact info@sandfordit.com | syscontact info@sandfordit.com | ||
=== Setup (Post v12) === | |||
# 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> | |||
# Replace existing config file with contents as shown below the procedure | |||
#* <code> vi /etc/snmp/snmpd.conf </code> | |||
# Restart SNMP | |||
#* <code> /etc/init.d/snmpd restart </code> | |||
# 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> | |||
# Allows SNMP Get's from IP | |||
rocommunity dont-leave-as-public 192.168.123.10 | |||
sysLocation CR DC | |||
sysContact info@sandfordit.com | |||
= Hostname Change = | = Hostname Change = |