This is how to AIX 5.3. (Sorry for the bad formatting) Compile netsnmp 5.4.1. I compiled with the following options; ./configure --without-kmem-usage --disable-shared --disable-embedded-perl --with-mib-modules="ucd-snmp/diskio smux mibII/mta_sendmail" Now for the configuration; Move the master AIX agent, snmpd, to a different port. You can use the -p <portnum> option. Set this via chssys. The configuration for the AIX agent should have the following as viewable; VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - included - VACM_VIEW defaultView system - included - VACM_VIEW defaultView interfaces - included - VACM_VIEW defaultView tcp - included - VACM_VIEW defaultView icmp - included - VACM_VIEW defaultView internet - included - VACM_VIEW defaultView enterprises - included -
VACM_VIEW defaultView 1.3.6.1.2.1 - included - VACM_VIEW defaultView 1.3.6.1.4.1.2 - included - VACM_VIEW defaultView 1.3.6.1.4.1.2.2 - included - VACM_VIEW defaultView 1.3.6.1.4.1.2.3 - included - VACM_VIEW defaultView 1.3.6.1.4.1.2.5 - included - VACM_VIEW defaultView 1.3.6.1.4.1.2.6 - included - VACM_VIEW defaultView internet - included - VACM_VIEW defaultView directory - included - VACM_VIEW defaultView mgmt - included - VACM_VIEW defaultView mib-2 - included - VACM_VIEW defaultView system - included - VACM_VIEW defaultView aix - included - VACM_VIEW defaultView xmd - included - VACM_VIEW defaultView ibm - included - VACM_VIEW defaultView ibmAgents - included - (Some may be repeated above...sorry about that). Now the netsnmp config...outside of the standard configurations we add a proxy for the OIDs that netsnmp doesn't handle. # Proxy IBM Agent Requests for port number proxy -v 1 -c <community> 127.0.0.1:<portnum> 1.3.6.1.4.1.2.2.1.1.0 proxy -v 1 -c <community>127.0.0.1:<portnum> 1.3.6.1.4.1.2.2.1.1.1.0 # Proxy iftable(IF-MIB: Interface Names & Stats), iptable and ifalias proxy -v 1 -c <community>127.0.0.1:<portnum> .1.3.6.1.2.1 proxy -v 1 -c <community>127.0.0.1:<portnum> .1.3.6.1.2.1.4.20.1 # Proxy RFC1213-MIB (Route Info) proxy -v 1 -c <community>127.0.0.1:<portnum> .1.3.6.1.2.1.4.21.1 # Proxy SysUptime (netsnmp doesn't work) proxy -v 1 -c <community>127.0.0.1:<portnum> 1.3.6.1.2.1.25.1.1.0 # Proxy the SNMP Descr so OS shows up properly in zenoss parsing proxy -v 1 -c <community>127.0.0.1:<portnum> .1.3.6.1.2.1.1.1.0 When starting the netsnmp snmpd agent, make sure to specify '-I -interfaces' on the command line. This will prevent the netsnmp agent from registering these OIDs and thus proxy them to the AIX agent. Of course, make sure you set your community and port numbers in the config. This allows you to query on the standard snmp port and use the existing templates in zenoss. There are issues with the SoftwareMap due to dates and I have removed this from the data collector. ------------------------ Paul Mininni -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=11123#11123 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
