AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Problems with SNMP and AIX

    Posted Thu November 23, 2006 02:36 AM

    Originally posted by: SystemAdmin


    Hello,

    I´m trying to get some informations about my
    aix-boxes with snmp. I´ve configured snmpv3.conf,
    but I can´t get access to the

    .iso.org.dod.internet.private.enterprises.ibm.ibmProd

    subtree. Only if I activate the defaultView and
    default-community (public!), it works.

    My config:
    VACM_VIEW group2View 1.3.6.1.4.1.2.6.191 - included -
    VACM_VIEW group2View system - included -
    VACM_VIEW group2View interfaces - included -
    VACM_VIEW group2View udp - included -
    VACM_VIEW group2View snmp - included -
    VACM_VIEW group2View tcp - included -
    VACM_VIEW group2View icmp - included -
    VACM_VIEW group2View internet - included -
    VACM_VIEW group2View enterprises - included -
    VACM_VIEW group2View 1.3.6.1.2.1.25 - included -
    VACM_ACCESS group2 - - noAuthNoPriv SNMPv1 group2View - group2View -
    COMMUNITY <xxx> <yyy> noAuthNoPriv <my mgmt-ws> 255.255.255.255 -

    Any suggestions?
    Where I can put informations like syscontact, syslocation etc..?

    Regards
    Guenther Rasch

    #AIX-Forum


  • 2.  Re: Problems with SNMP and AIX

    Posted Tue December 05, 2006 01:23 PM

    Originally posted by: SystemAdmin


    The problem may be that the daemons that provide this information cannot register with the SNMP daemon under your current configuration. The aixmibd, hostmibd, and snmpmibd all attempt to register with the SNMP daemon with a community of "public" by default. One method would be to add statements in /etc/snmpdv3.conf for a community of "public" which is limited to the localhost IP address. A second method would be to start the aixmibd, hostmibd and snmpmibd with the "-c COMMUNITY" command line argument. The community string may be visible in the output of "ps" command if done this way though.
    #AIX-Forum


  • 3.  Re: Problems with SNMP and AIX

    Posted Sat March 20, 2010 11:59 PM

    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