1 Reply Latest reply on Aug 9, 2016 6:43 AM by mrusnock

    Help with Linux SNMPv3 Setup

    Ballzo

      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

        • Re: Help with Linux SNMPv3 Setup
          mrusnock

          Did you every figure out how to configure Redhat 6  and Solarwinds to poll snmp V3 ?

           

          I can snmpwalk from remote Linux servers just fine but I can not get Solarwinds to work.

           

          Any help would be great.

           

           

          [root@warroom2 home]# snmpwalk -v3 -n "" -u admin -a MD5 -A 'XXXXXXXX' -l authNoPriv 10.15.17.223 1

          SNMPv2-MIB::sysDescr.0 = STRING: Linux bhpftpinf01v 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64

          SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10

          DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (7458002) 20:43:00.02

          SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

          SNMPv2-MIB::sysName.0 = STRING: bhpftpinf01v

          SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)

          SNMPv2-MIB::sysORLastChange.0 = Timeticks: (34) 0:00:00.34

          SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1

          SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance

          SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance

          SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB

          SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB

          SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip