Net-SNMP in AIX Setup help needed
"Stock, Roger W" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to get snmpd working for ver 2c requests, both locally and for remote requests. I am also new to this. I am getting a NULL return from a request for host MIB info. Can anyone tell me if they see something wrong with what I am doing? # snmpwalk -v 2c -c public localhost host HOST-RESOURCES-MIB::host = NULL I get info for mib-2: # snmpwalk -v 2c -c public localhost mib-2 SNMPv2-MIB::sysDescr.0 = STRING: IBM PowerPC CHRP Computer Machine Type: 0x0800004c Processor id: 00C2AAED4C00 Base Operating System Runtime AIX version: 05.03.0011.0000 TCP/IP Client Support version: 05.03.0011.0000 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (16000) 0:02:40.00 SNMPv2-MIB::sysContact.0 = STRING: SNMPv2-MIB::sysName.0 = STRING: uisp570s SNMPv2-MIB::sysLocation.0 = STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 72 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (100) 0:00:01.00 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3 SNMPv2-MIB::sysORDescr.1 = STRING: AIX SNMP Agent SNMPv2-MIB::sysORUpTime.1 = Timeticks: (100) 0:00:01.00 SNMPv2-MIB::snmpInPkts.0 = Counter32: 65 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 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 Here is my snmpdv3.conf file: defVersion=2 syslocation = "Computer room" syscontact = "Admins" sysName = uisp570s.bu.edu VACM_GROUP group1 SNMPv2c public - VACM_GROUP group2 SNMPv2c velocity - VACM_VIEW defaultView internet - included - VACM_VIEW defaultView mib-2 - included - VACM_VIEW defaultView system - included - VACM_VIEW defaultView interfaces - included - VACM_VIEW defaultView ip - included - VACM_VIEW defaultView icmp - included - VACM_VIEW defaultView tcp - included - VACM_VIEW defaultView udp - included - VACM_VIEW defaultView host - included - # exclude snmpv3 related MIBs from the default view VACM_VIEW defaultView snmpModules - included - VACM_VIEW defaultView 1.3.6.1.6.3.1.1.4 - included - VACM_VIEW defaultView 1.3.6.1.6.3.1.1.5 - included - VACM_VIEW defaultView 1.3.6.1.2.1.25.1 - included - VACM_VIEW defaultView 1.3.6.1.2.1.25.2 - included - VACM_VIEW defaultView 1.3.6.1.2.1.25.3 - 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 - # exclude aixmibd managed MIBs from the default view #VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - excluded - VACM_ACCESS group1 - - noAuthNoPriv SNMPv2c defaultView - defaultView - VACM_ACCESS group2 - - noAuthNoPriv SNMPv2c defaultView - defaultView - NOTIFY notify1 traptag trap - TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparms1 - - - TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 public noAuthNoPriv - COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 - COMMUNITY public public noAuthNoPriv 127.0.0.1 255.255.255.255 - COMMUNITY public public noAuthNoPriv 128.xxx.xxx.xxx 255.255.255.255 - COMMUNITY velocity velocity noAuthNoPriv 127.0.0.1 255.255.255.255 - COMMUNITY velocity velocity noAuthNoPriv 128.xxx.xxx.xxx 255.255.255.0 - DEFAULT_SECURITY no-access - - logging file=/usr/tmp/snmpdv3.log enabled logging size=100000 level=0 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.3.1.1 muxatmd_password #muxatmd Many thanks for any ideas, Roger ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users