|
|
Line 287: |
Line 287: |
|
| |
|
| == SNMP == | | == SNMP == |
| Note that the way in which the SNMP daemon/agent needs to be configured varies between OS version.
| |
|
| |
| === Setup (Pre v10) === | | === Setup (Pre v10) === |
| # Run the following command to update the package database | | # Run the following command to update the package database |
Line 340: |
Line 338: |
| syslocation "CR DC" | | syslocation "CR DC" |
| syscontact info@sandfordit.com | | syscontact info@sandfordit.com |
|
| |
| === Setup (Post v10) ===
| |
| # 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
| |
|
| |
|
| == MySQL == | | == MySQL == |