I want to add Red Hat 6 (Linux) server in NPM Solarwinds.
Below is the SNMP configuration. Can any one explain how to configure Linux Server for SNMP Polling. I am not familiar with LINUX interface as the OS is deployed by third part vendor. Can any one support.
How to Configure SNMP in RedHat Enterprise Linux (RHEL) 6 | Dell Pakistan
Here is how we setup SNMP. Replace USERNAME with a username of your choice, replace Password with your password. In Solarwinds your SNMP3 Authentication Method will be SHA1 and your SNMPv3 Privacy / Encryption will be AES128. You will leave the Read / Write SNMPv3 Credentials blank in Solarwinds.
Red Hat
vi /etc/sysconfig/iptables
-A Input-Rules -p udp -m udp --dport 161 -j ACCEPT
service iptables restart
iptables -L
to verify it is appended
vi /etc/hosts.allow
snmpd: ALL
yum list net-snmp-devel
yum -y install net-snmp-devel.x86_64
cd /etc/snmp
cp -p snmpd.conf snmpd.conf.20150616
service snmpd stop
/usr/bin/net-snmp-config-x86_64 --create-snmpv3-user -ro -A "PASSWORD" -X PASSWORD -a SHA -x AES USERNAME
vi /etc/snmp/snmpd.conf
remove contents and replace with:
rwuser initial
rwuser USERNAME
createUser USERNAME SHA "PASSWORD" AES
rouser USERNAME
service snmpd start
chkconfig --list
(run levels 2,3,4,5 "on" for start service at startup)
chkconfig --level 2345 snmpd on
Test in Solarwinds