Thanks Mark, To do testing even we do not have any restrictions on snmpd.conf as follows:
logging file=/usr/tmp/snmpd.log enabled logging size=100000 level=0 community public view 1.1.1 trap public a.b.c.d 1.1.1 fe trap public e.f.g.h 1.1.1 fe snmpd smuxtimeout=200 #muxatmd 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.3.1.2.3.1.1 muxatmd_password #muxatmd smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password # HACMP/ES for AIX clsmuxpd if you have AIX 6.1 you have to configure snmpdv3.conf file also to make snmpv1 or snmpv2c working. We also have that file wide open, I was reading an article in cacti forum and I opened our snmpdv3.conf file, however so far not much luck there also. http://publib.boulder.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.commadmn/doc/commadmndita/commadmndita_pdf.pdf http://publib.boulder.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.files/doc/aixfiles/aixfiles.pdf http://forums.cacti.net/about19040.html Using snmpv1 I am able to walk systems, a part of IBM enterprise mib (which I do not have a requirement to collect information on) and a part of enterprises.Unix subtree. snmpwalk -v 1 -c public -t 30 IPAddress 1.3.6.1.4.1 One annoying thing is the agent does not respond to the interfaces (ifTable) tree structure even if it specifically included in the conf file, so in spectrum I can just see the systems information and nothing else :(. Saurabh Bohra O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected] From: Mark Serencha [mailto:[email protected]] Sent: Friday, February 24, 2012 5:00 PM To: spectrum Subject: RE: [spectrum] Monitoring AIX 6.1 from Spectrum Hello Saurabh, We have had similar problems with AIX 5.3, but I do not have AIX 6.1, so I cannot test that. Our (very basic) config allows an unrestricted view of the MIB tree with the public community (Note: this is NOT a best practice, but you should make sure this responds before restricting access): logging file=/usr/tmp/snmpd.log enabled logging size=0 level=0 community public view 1.17.2 system enterprises view trap public 127.0.0.1 1.2.3 fe # loopback smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid snmpd smuxtimeout=200 #muxatmd smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd This site shows how to restrict access further: http://nagios.frank4dd.com/howto/aix-snmp-setup.htm We do not use SNMPv3, so I am unable to help there. But SNMPv1 seems to be required; the agent does not respond properly to SNMPv2c, we get no entries: D:\> snmpget -v 2c -c public HOSTNAME sysName.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::sysName.0 D:\> snmpwalk -v 2c -c public HOSTNAME system End of MIB D:\> snmptable -v 2c -c public HOSTNAME hrStorageTable End of MIB HOST-RESOURCES-MIB::hrStorageTable: No entries Are you able to walk these tables? C:\> snmptable -v 1 -c COMMUNITY HOSTNAME ifTable C:\> snmptable -v 1 -c COMMUNITY HOSTNAME hrStorageTable C:\> snmptable -v 1 -c COMMUNITY HOSTNAME hrSWRunTable This thread indicates that the AIX 5.3 SNMP agent may not provide the hrSWRunTable at all (but AIX 6.1 does). I am still researching this matter. http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/implementing-hostresource-mib-in-ibmaix-573126 Thanks, --Mark S ________________________________ Mark Serencha - Inforonics Global Services, LLC - (m) +1-781-439-0519 - Mark.Serencha_AT_inforonics.com From: Bohra, Saurabh [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: Thursday, February 23, 2012 4:27 PM To: spectrum Subject: [spectrum] Monitoring AIX 6.1 from Spectrum Hello Spectrum users, Is anyone monitoring AIX 6.1 servers from Spectrum using the AIX snmp agent which comes with the OS? We have few AIX 6.1 servers running the AIX Snmp agent which comes with the box. We have been trying to configure the snmpd.conf and snmpdv3.conf on the server, however we are unable to get response in the enterprises mib structure and also partially get response from the mib-2 as follows. Can someone please share sample configuration file if they are using AIX SNMP agent. Thanks, snmpwalk -v 1 -c XXXXXXXX -t 30 172.22.252.14 SNMPv2-MIB::sysDescr.0 = STRING: IBM PowerPC CHRP Computer Machine Type: 0x0800004c Processor id: 00F607144C00 Base Operating System Runtime AIX version: 06.01.0004.0000 TCP/IP Client Support version: 06.01.0004.0004 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (111259600) 12 days, 21:03:16.00 SNMPv2-MIB::sysContact.0 = STRING: XXXXXXXX SNMPv2-MIB::sysName.0 = STRING: XXXXXXXXX SNMPv2-MIB::sysLocation.0 = STRING: XXXXXXXXX p750 POWER7 SNMPv2-MIB::sysServices.0 = INTEGER: 72 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (18000) 0:03:00.00 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3 SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.5 SNMPv2-MIB::sysORID.3 = OID: SNMPv2-SMI::enterprises.2.3.1.2.3.1.1 SNMPv2-MIB::sysORDescr.1 = STRING: AIX SNMP Agent SNMPv2-MIB::sysORDescr.2 = STRING: HACMP for AIX Cluster SNMP Multiplexing Peer Daemon (clsmuxpd) SNMPv2-MIB::sysORDescr.3 = STRING: SMUX ATM daemon SNMPv2-MIB::sysORUpTime.1 = Timeticks: (100) 0:00:01.00 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (600) 0:00:06.00 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (18000) 0:03:00.00 SNMPv2-MIB::snmpInPkts.0 = Counter32: 309192 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 225089 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2) SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0 SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0 Saurabh Bohra Sr. Network Mgmt Systems Analyst ESPN Inc. O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> ________________________________ Please consider the environment before printing this e-mail. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
