I've been trying to get my VMWare and Linux systems converted over to SNMPv3 polling. The VMWare stuff I have in there using no privacy, but I can't get seem to figure out how to configure my redhat linux system correctly. I could use some help!
Here is what I have done or think I have done so far.............
The system I am working with is RHEL 6.3
Created two users one with Auth Only and One with Auth and Privacy.
start here.....
YUM install net-snmp
YUM install net-snmp-utils
YUM install net-snmp-libs
YUM install net-snmp-devel
copy oem snmpd.conf
cp /etc/snmp/snmpd.conf snmpd.conf.oem
service snmpd stop
setup snmpv3
create ro auth-priv user
net-snmp-create-v3-user -ro -A AUTHPASS -X 'PRIVPASS' -a SHA -x AES snmp-auth-priv-user
create auth-only user
net-snmp-create-v3-user -ro -A AUTHPASS -a SHA -x snmp-auth-user
(you may need to use sudo to complete commands)
chkconfig snmpd on
(you may need to use sudo to complete commands)
service snmpd start
If you cannot connect to this with the credentials you created, you may need to add firewall/iptable exceptions for snmp ports
edit /etc/sysconfig/iptables
add lines
-A INPUT -p udp -m udp --dport 161:162 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 161:162 -j ACCEPT
restart iptables
/etc/init.d/iptables restart