AIX

AIX

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


#Power
#Power
 View Only

AIX 5.3 snmpv2c configuration

  • 1.  AIX 5.3 snmpv2c configuration

    Posted Wed February 22, 2012 07:37 AM

    Originally posted by: SystemAdmin


    Hello
    im trying to set up SNMPv2c on a AIX 5.3 TL12 box to talk with Solarwinds Orion NMS. i have searched this forum plus a few more
    plus the man pages for snmpdv3.conf configuration and i think i got it right up to a certain extent.
    I have modified the file /etc/rc.tcpip so as the sub-agents aixmibd hostmibd muxatmd snmpmibd now start with
    the new community string as a parameter.(start /usr/sbin/hostmibd "$src_running" "-c mystring")
    my NMS server is 172.16.7.10
    im posting my snmpdv3.conf below, as it is now after stopping and starting all the sub-agents and snmpd it talks with the NMS server
    but its only some very basic description that gets reported back to the NMS such as hostname and IP, machine type, processor ID, AIX version and TCP/IP version.
    So i thought that for example uncommenting some of the following #VACM_VIEW and stop/start the daemons would supply the NMS with more data but nothing more
    seems to be reported back to it.

    so my main questions are 3.

    1)which is there a specific order when stopping sub agents and snmpd?i have actually stopped all the sub-agents,then snmpd and then started sub-agents
    and lastly the snmpd.

    2)all those MIBs internet,system,interfaces and so on are in any way "universal" ie meaning that my NMS (Solarwinds Orion) includes them or
    do i have to add them in some way in its MIB in some way?Also where can i find a list of basic MIBs that i might want to include. I have actually found
    those that you see from various posts on forums.

    3)does it matter if there are spaces or tabs seperating values on each line?
    any help would be apprecieated :)
    VACM_GROUP group2 SNMPv2c mystring readonly

    VACM_VIEW group2view internet - included readonly

    VACM_VIEW group2view system - included readonly
    VACM_VIEW group2view interfaces - included readonly
    VACM_VIEW group2view tcp - included readonly
    #VACM_VIEW group2view icmp - included readonly
    #VACM_VIEW group2view udp - included readonly
    #VACM_VIEW group2view snmp - included readonly
    #VACM_VIEW group2view directory - included readonly
    #VACM_VIEW group2view mgmt - included readonly
    #VACM_VIEW group2view mib-2 - included readonly
    #VACM_VIEW group2view aix - included readonly
    #VACM_VIEW group2view xmd - included readonly
    VACM_VIEW group2view ibm - included readonly
    #VACM_VIEW group2view ibmAgents - included readonly
    #VACM_VIEW group2view enterprises - included readonly

    1. exclude snmpv3 related MIBs from the group2view
    VACM_VIEW group2view snmpModules - excluded readonly
    VACM_VIEW group2view 1.3.6.1.6.3.1.1.4 - included readonly
    VACM_VIEW group2view 1.3.6.1.6.3.1.1.5 - included readonly

    1. exclude aixmibd managed MIBs from the group2view
    VACM_VIEW group2view 1.3.6.1.4.1.2.6.191 - excluded readonly

    VACM_ACCESS group2 - - noAuthNoPriv SNMPv2c group2view - group2view readonly

    NOTIFY notify1 traptag trap -

    TARGET_ADDRESS Target1 UDP 172.16.7.10 traptag trapparms1 - - readonly

    TARGET_PARAMETERS trapparms1 SNMPv2c SNMPv2c mystring noAuthNoPriv readonly

    #COMMUNITY mystring mystring noAuthNoPriv 127.0.0.1 255.0.0.0 readonly
    COMMUNITY mystring mystring noAuthNoPriv 172.16.7.10 255.255.255.192 readonly
    #AIX-Forum