This is the bare minimum to set up snmp on Ubuntu to allow monitoring from Cacti or similar
apt-get update
apt-get install snmpd snmp-mibs-downloader
snmpconf
- Choose /etc/snmp/snmpd.conf
- Choose snmpd.conf
- Choose 3 for 'Access Control'
- Choose 3 for RO community
- Type community name
- Press enter or type allowed network/host
- Press enter to allow all OID
mv snmpd.conf /etc/snmp/
service snmpd restart
apt-get update
apt-get install snmpd snmp-mibs-downloader
snmpconf
- Choose /etc/snmp/snmpd.conf
- Choose snmpd.conf
- Choose 3 for 'Access Control'
- Choose 3 for RO community
- Type community name
- Press enter or type allowed network/host
- Press enter to allow all OID
mv snmpd.conf /etc/snmp/
service snmpd restart
Comments
Post a Comment