AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  SNMP and AIX 5.3

    Posted Thu January 22, 2009 01:04 PM

    Originally posted by: Kyne


    I was at AIX 5.2 and I have migrated to AIX 5.3.
    When on AIX 5.2, we were with SNMP v1.

    Can you help me on how to migrate from snmpd.conf to snmpdv3.conf?

    I use these instructions but it doesn't work:
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp
    Maybe something I don't understand...

    I will show you the snmpd.conf that I have to migrate.
    Can you show me how it have to look in snmpdv3.conf?
    community abcdef
    community private 127.0.0.1 255.255.255.255 readWrite
    community system 127.0.0.1 255.255.255.255 readWrite 1.17.2
    community public

    view 1.17.2 system enterprises view

    trap abcdef 127.0.0.1 1.2.3 fe # loopback
    trap abcdef server1 # NetView for AIX

    smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
    smux 1.3.6.1.4.1.2.6.4.1 nv6000 # NetView: trapgend
    smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password # dpid

    smux 1.3.6.1.4.1.2.6.30 "directTalk6000" # Added by DTsnmpd.cfg
    ----

    Thanks a lot.
    #AIX-Forum


  • 2.  Re: SNMP and AIX 5.3

    Posted Sun March 21, 2010 12:02 AM

    Originally posted by: SystemAdmin


    AIX SNMP Conifugration

    1. ls -l /usr/sbin/snmpd
    lrwxrwxrwx 1 root system 9 Feb 10 2009 /usr/sbin/snmpd -> snmpdv3ne

    rm /usr/sbin/snmpd
    ln -s /usr/sbin/snmpd /usr/sbin/snmpdv3ne

    Modify this file.

    vi /etc/snmpdv3.conf
    1. exclude aixmibd managed MIBs from the default view
    #VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - excluded - (Default except #)
    VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - included - --> Modify this line
    stopsrc -s snmpd
    startsrc -s snmpd
    #AIX-Forum


  • 3.  Re: SNMP and AIX 5.3

    Posted Mon March 22, 2010 10:19 AM

    Originally posted by: shargus


    It's probably better to use "/usr/sbin/snmpv3_ssw -n" to switch SNMP. It switches the links for snmpd and clsnmp for you, then restarts the agent.

    We're using SNMP for network discovery, and I've found that SNMPv1 provides all the information we are looking for, while SNMPv3 only provides the bare minimum. As far as I can tell, the AIX implementation of SNMPv3 is only a framework. If you want more information, you have to add in additional modules.

    I've also looked at Net-SNMP, as a replacement for AIX's SNMP. It's a little better in that it has more modules to provide more information, but it does not provide any network information.
    #AIX-Forum