This is an old revision of the document!
Net-snmp
General Information
How to install the net-snmp service for monitoring.
Checklist
- Distro(s): Enterprise Linux
Install and Configure net-snmp
1) Install net snmp
yum install net-snmp net-snmp-utils net-snmp-libs
2) Create the SNMPv3 User
net-snmp-create-v3-user -ro -A <Authpw> -X <Encryptionpw> -a SHA -x AES <snmpv3username>
Example:
net-snmp-create-v3-user -ro -A MyAuthPW123 -X MyEncryptPW123 -a SHA -x AES systempoller
3) Start the snmpd service
service snmpd start
4) Configure service to start at boot
chkconfig snmpd on
SNMP Config File
Location: /etc/snmp/snmpd.conf
SNMPv2 Example content:
rocommunity redhat syslocation Datacenter, Row 3, Rack 2 syscontact UNIX Admin <admin@example.com>