IBM i discovery methods

IBM i (AS/400) discovery is undertaken using SNMP. SNMP discovery is supported for all devices with an accessible SNMP agent. Discovery supports SNMP v1, v2c, and v3. For some older platforms (Netware, for example) the use of SNMP v1 might be required. This requirement is defined on a per-credential basis. Only read (GET, GETNEXT, GETBULK) access is required.

This page shows the method used, the MIB values, and the OIDS used.

MethodMIB ValuesOID
getDeviceInfo*SNMPv2-MIB::sysDescr.0
SNMPv2-MIB::sysName.0
1.3.6.1.2.1.1.1.0
1.3.6.1.2.1.1.5.0
getHostInfo*HOST-RESOURCES-MIB::hrSystemUptime.0
HOST-RESOURCES-MIB::hrMemorySize.0
1.3.6.1.2.1.25.1.1.0
1.3.6.1.2.1.25.2.2.0
getIPAddressesIF-MIB::ifEntry
[ ifDescr, ifType, ifOperStatus ]

IP-MIB::ipAddressEntry
[ ipAddressAddr, ipAddressIfIndex, ipAddressType, ipAddressPrefix ]
1.3.6.1.2.1.2.2.1
[ .2, .3, .8 ]

1.3.6.1.2.1.4.34.1
[ .2, .3, .4, .5 ]

IP-MIB::ipAddrEntry
[ ipAdEntAddr, ipAdEntIfIndex, ipAdEntNetMask ]

IPV6-MIB::ipv6AddrEntry
[ ipv6AddrAddress, ipv6AddrPfxLength ]

1.3.6.1.2.1.4.20.1
[ .1, .2, .3 ]

1.3.6.1.2.1.55.1.8.1
[ .1, .2 ]
getMACAddresses*

IF-MIB::ifEntry
[ ifDescr, ifType, ifPhysAddress, ifOperStatus ]

1.3.6.1.2.1.2.2.1
[ .2, .3, .6, .8 ]

IP-MIB::ipNetToPhysicalEntry
[ ipNetToPhysicalPhysAddress, ipNetToPhysicalType ]
1.3.6.1.2.1.4.35.1
[ .4, .6 ]
IP-MIB::ipNetToMediaEntry
[ ipNetToMediaPhysAddress, ipNetToMediaType ]
1.3.6.1.2.1.4.22.1
[ .2, .4 ]
getNetworkConnectionListTCP-MIB::tcpConnectionEntry
[ tcpConnectionLocalAddress, tcpConnectionLocalPort, tcpConnectionRemAddress, tcpConnectionRemPort, tcpConnectionState, tcpConnectionProcess ]

TCP-MIB::tcpListenerEntry
[ tcpListenerLocalAddress, tcpListenerLocalPort, tcpListenerProcess ]

UDP-MIB::udpEndpointEntry
[ udpEndpointLocalAddress, udpEndpointLocalPort, udpEndpointProcess ]
1.3.6.1.2.1.6.19.1
[ .2, .3, .5, .6, .7, .8 ]

1.3.6.1.2.1.6.20.1
[ .2, .3, .4 ]

1.3.6.1.2.1.7.7.1
[ .2, .3, .8 ]
TCP-MIB::tcpConnEntry
[ tcpConnState, tcpConnLocalAddress, tcpConnLocalPort, tcpConnRemAddress, tcpConnRemPort ]

IPV6-TCP-MIB::ipv6TcpConnEntry
[ ipv6TcpConnLocalAddress, ipv6TcpConnLocalPort, ipv6TcpConnRemAddress, ipv6TcpConnRemPort, ipv6TcpConnState ]

UDP-MIB::udpConnEntry
[ udpLocalAddress, udpLocalPort ]

IPV6-UDP-MIB::ipv6UdpEntry
[ ipv6UdpLocalAddress, ipv6UdpLocalPort ]
1.3.6.1.2.1.6.13.1
[ .1, .2, .3, .4, .5 ]

1.3.6.1.2.1.6.16.1
[ .1, .2, .3, .4, .6 ]

1.3.6.1.2.1.7.5.1
[ .1, .2 ]

1.3.6.1.2.1.7.6.1
[ .1, .2 ]
getNetworkInterfacesIF-MIB::ifEntry
[ ifIndex, ifDescr, ifType, ifSpeed, ifPhysAddress, ifOperStatus ]

IF-MIB::ifXEntry
[ ifAlias, ifName, ifHighSpeed ]

MAU-MIB::ifMauEntry
[ ifMauIfIndex, ifMauType, ifMauAutoNegSupported ]

EtherLike-MIB::dot3StatsEntry
[ dot3StatsDuplexStatus ]

IP-MIB::ipNetToPhysicalEntry
[ ipNetToPhysicalIfIndex, ipNetToPhysicalPhysAddress, ipNetToPhysicalType ]

IP-MIB::ipNetToMediaEntry
[ ipNetToMediaIfIndex, ipNetToMediaPhysAddress, ipNetToMediaType ]
1.3.6.1.2.1.2.2.1
[ .1, .2, .3, .5, .6, .8 ]

1.3.6.1.2.1.31.1.1.1
[ .1, .15, .18 ]

1.3.6.1.2.1.26.2.1.1
[ .1, .3, .12 ]

1.3.6.1.2.1.10.7.2.1
[ .19 ]

1.3.6.1.2.1.4.35.1
[ .1, .4, .6 ]

1.3.6.1.2.1.4.22.1
[ .1, .2, .4 ]
getPackageListHOST-RESOURCES-MIB::hrSWInstalledEntry
[ hrSWInstalledName ]
1.3.6.1.2.1.25.6.3.1
[ .2 ]
getProcessListHOST-RESOURCES-MIB::hrSWRunEntry
[ hrSWRunIndex, hrSWRunName, hrSWRunPath, hrSWRunParameters ]
1.3.6.1.2.1.25.4.2.1
[ .1, .2, .4, .5 ]

Was this page helpful? Yes No Submitting... Thank you

Comments