Configure SNMP on Applicare and Redhat Server
Configure REDHAT server
Install SNMP
Install net-snmp using yum
# yum install net-snmp net-snmp-libs net-snmp-utils
Configure SNMP v3
Stop SNMP service:
systemctl stop snmpd.service
Create a new user:
~]#net-snmp-create-v3-userEnter a SNMPv3 user name to create: admin Enter authentication pass-phrase: redhatsnmp Enter encryption pass-phrase: [press return to reuse the authentication pass-phrase] adding the following line to /var/lib/net-snmp/snmpd.conf: createUser admin MD5 "redhatsnmp" DES adding the following line to /etc/snmp/snmpd.conf: rwuser admin ~]#systemctl start snmpd.service
Edit /etc/snmp/snmpd.conf with the following:
change this:
rwuser admin
to this:
rwuser admin authPriv .1
Restart SNMP:
systemctl start snmpd.service
Configure Applicare
Configure a new device
1. Go to Configuration -> Manage SNMP devices.
2. Set device name (a label for the device).
3. Set the host address.
4. Set the port number (161 by default).
5. SNMP Version 3.
6. Set the user name.
7. Set the password.
8. Security Level: Authentication and encryption.
9. Encryption protocol: DES.
10. Set encryption password.
11. MIB Organization: Linux.
12. MIB Name: RedHat.
Test configuration:
Go to Home -> Alerts.
Go to Configuration and create an SNMP alert.
Select the device created, and click on the browse folder.
Select a category and a node to see the values on the table.
Please sign in to leave a comment.
Comments
0 comments