Install the service
apt-get install snmpd
Config the service
Iets backup the original configuration (for documentation) :
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.ori
Then we create the config file : /etc/snmp/snmpd.conf
# this create a SNMPv1/SNMPv2c community named "my_servers"
# and restricts access to LAN adresses 192.168.0.0/24
rocommunity my_servers 192.168.0.0/24
# setup info
syslocation "yourlocation, younextlocation"
syscontact "whateveryoulike"
# open up
agentAddress udp:161
# run as
agentuser root
# dont log connection from UDP:
dontLogTCPWrappersConnects yes
# fix for disks larger then 2TB
realStorageUnits 0
That's all Folks :-)