Sample Object IDs

IPv4 Examples

The following IPv4 examples show a few query and response details on an appliance with a sample IP address of 10.1.1.226 and community string public. The sample OIDs display with their sample output in the code.

Note: If you are using IPv6 addresses please ensure that you follow the correct address format. For more information please refer to IPv6 Address Formats.
$ snmpwalk -v2c -c public 10.1.1.226  SNMPv2-SMI::enterprises.18552.1.2.1
Prints all the LX MIB.
$ snmpwalk -v2c -c public 10.1.1.226  SNMPv2-SMI::enterprises.18552.2.2.1
Prints all the ST MIB.
Note that  SNMPv2-SMI::enterprises can be replaced with dotted number format .1.3.6.1.4.1
$ snmpwalk -v2c -c public 10.1.1.226 1.3.6.1.2
To poll system, interfaces, etc
$ snmpwalk -v2c -c public 10.1.1.226 1.3.6.1.2.1.1.3.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (25555392) 2 days, 22:59:13.92
To poll for system uptime.
Corresponding system command
$ uptime
 15:32:54 up 2 days, 23:01,  4 users,  load average: 2.43, 2.59, 2.49
$ snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.2.1.2.2.1
To walk the network interfaces table. bond0, eth0 and eth1 are listed in this table along with their corresponding network stats
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: dummy0
IF-MIB::ifDescr.5 = STRING: eql
IF-MIB::ifDescr.6 = STRING: bond0
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: slip(28)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 16436
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 576
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 10000000
IF-MIB::ifSpeed.5 = Gauge32: 0
IF-MIB::ifSpeed.6 = Gauge32: 10000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 0:2:b3:e9:33:80
IF-MIB::ifPhysAddress.3 = STRING: 0:2:b3:e9:33:80
IF-MIB::ifPhysAddress.4 = STRING:
IF-MIB::ifPhysAddress.5 = STRING:
IF-MIB::ifPhysAddress.6 = STRING: 0:2:b3:e9:33:80
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: down(2)
IF-MIB::ifAdminStatus.5 = INTEGER: down(2)
IF-MIB::ifAdminStatus.6 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: down(2)
IF-MIB::ifOperStatus.4 = INTEGER: down(2)
IF-MIB::ifOperStatus.5 = INTEGER: down(2)
IF-MIB::ifOperStatus.6 = INTEGER: up(1)
IF-MIB::ifInOctets.1 = Counter32: 179847582
IF-MIB::ifInOctets.2 = Counter32: 3672236919
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 3672414769
IF-MIB::ifInUcastPkts.1 = Counter32: 1928357
IF-MIB::ifInUcastPkts.2 = Counter32: 1353515244
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifInUcastPkts.5 = Counter32: 0
IF-MIB::ifInUcastPkts.6 = Counter32: 1353515828
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 44
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifInDiscards.6 = Counter32: 44
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 44
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInErrors.5 = Counter32: 0
IF-MIB::ifInErrors.6 = Counter32: 44
IF-MIB::ifOutOctets.1 = Counter32: 179847582
IF-MIB::ifOutOctets.2 = Counter32: 547984552
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 547984923
IF-MIB::ifOutUcastPkts.1 = Counter32: 1928357
IF-MIB::ifOutUcastPkts.2 = Counter32: 947178
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.5 = Counter32: 0
IF-MIB::ifOutUcastPkts.6 = Counter32: 947182
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.6 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifOutErrors.6 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 0
IF-MIB::ifOutQLen.5 = Gauge32: 0
IF-MIB::ifOutQLen.6 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.5 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.6 = OID: SNMPv2-SMI::zeroDotZero
System command output:
$ ifconfig
bond0     Link encap:Ethernet  HWaddr 00:02:B3:E9:33:80
          inet addr:10.1.1.226 Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:1404595735 errors:44 dropped:44 overruns:0 frame:0
          TX packets:1064539 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1629444858 (1553.9 Mb)  TX bytes:570661638 (544.2 Mb)
eth0      Link encap:Ethernet  HWaddr 00:02:B3:E9:33:80
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1404595720 errors:44 dropped:44 overruns:0 frame:0
          TX packets:1064539 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1629441929 (1553.9 Mb)  TX bytes:570661638 (544.2 Mb)
          Base address:0x8440 Memory:fe020000-fe040000
eth1      Link encap:Ethernet  HWaddr 00:02:B3:E9:33:80
          UP BROADCAST NOARP SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1947784 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1947784 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:181891708 (173.4 Mb)  TX bytes:181891708 (173.4 Mb)
$ snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.4.1.2021.10.1
System load averages.
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1
UCD-SNMP-MIB::laIndex.2 = INTEGER: 2
UCD-SNMP-MIB::laIndex.3 = INTEGER: 3
UCD-SNMP-MIB::laNames.1 = STRING: Load-1
UCD-SNMP-MIB::laNames.2 = STRING: Load-5
UCD-SNMP-MIB::laNames.3 = STRING: Load-15
UCD-SNMP-MIB::laLoad.1 = STRING: 2.69
UCD-SNMP-MIB::laLoad.2 = STRING: 2.61
UCD-SNMP-MIB::laLoad.3 = STRING: 2.44
UCD-SNMP-MIB::laConfig.1 = STRING: 12.00
UCD-SNMP-MIB::laConfig.2 = STRING: 12.00
UCD-SNMP-MIB::laConfig.3 = STRING: 12.00
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 268
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 260
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 243
UCD-SNMP-MIB::laLoadFloat.1 = Opaque: Float: 2.690000
UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 2.610000
UCD-SNMP-MIB::laLoadFloat.3 = Opaque: Float: 2.440000
UCD-SNMP-MIB::laErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.3 = INTEGER: 0
UCD-SNMP-MIB::laErrMessage.1 = STRING:
UCD-SNMP-MIB::laErrMessage.2 = STRING:
UCD-SNMP-MIB::laErrMessage.3 = STRING:
$ snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.4.1.2021.11
CPU usage.
snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 2
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 1
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 34
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 2
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 2
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 19
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 13
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 22
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 63
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 7283712
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 6917114
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 22873470
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 65327096
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 22873470
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1529174198
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 2322564824
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 1805767855
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 3197292578
UCD-SNMP-MIB::systemStats.62.0 = Counter32: 567530
UCD-SNMP-MIB::systemStats.63.0 = Counter32: 349201
System command output:
$ vmstat 1 10
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 1  1 204464  49616  77736 1763564    2    1    34     2    2    19 14 22 64  0
 4  2 204464  46388  77744 1764116    0    0     0 30240 7020 11827  7 30 63  0
 2  0 204464  49304  77760 1762952 1216    0  1216 10880 6806 10088  8 48 44  0
 1  0 204464  49264  77772 1763136    0    0     0     0 6544 11681  6 21 74  0
 2  0 204464  45792  77592 1763304    0    0     0     0 6441 11931  8 22 71  0
 1  0 204464  48384  77736 1763328    0    0     0   284 6478  8893  8 18 75  0
 3  0 204464  48448  77748 1763288    0    0     0     0 6502 11732  6 21 73  0
 1  0 204464  48864  77760 1763460    0    0     0     0 6478 11506  7 18 75  0
 2  1 204464  49416  77772 1761916    0    0     0 16916 6580 11303  8 19 73  0
 1  1 204464  49468  77664 1763008    0    0     0 32784 6675 10961  9 18 73  0
$ snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.4.1.2021.9
Disk stats.
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /failsafe
UCD-SNMP-MIB::dskPath.3 = STRING: /tmp
UCD-SNMP-MIB::dskPath.4 = STRING: /loglogic
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/scsi/host0/bus0/target0/lun0/part1
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/scsi/host0/bus0/target0/lun0/part2
UCD-SNMP-MIB::dskDevice.3 = STRING: /dev/scsi/host0/bus0/target0/lun0/part5
UCD-SNMP-MIB::dskDevice.4 = STRING: /dev/scsi/host0/bus0/target2/lun0/part1
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 10000
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: 10000
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: 100000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 1494236
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 1035692
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 1035692
UCD-SNMP-MIB::dskTotal.4 = INTEGER: 1960866168
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 1188804
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 554520
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 948528
UCD-SNMP-MIB::dskAvail.4 = INTEGER: 1552997244
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 229528
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 428560
UCD-SNMP-MIB::dskUsed.3 = INTEGER: 34552
UCD-SNMP-MIB::dskUsed.4 = INTEGER: 407868924
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 16
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 44
UCD-SNMP-MIB::dskPercent.3 = INTEGER: 4
UCD-SNMP-MIB::dskPercent.4 = INTEGER: 21
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 4
UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 8
UCD-SNMP-MIB::dskPercentNode.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.4 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.3 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.4 = INTEGER: 0
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
UCD-SNMP-MIB::dskErrorMsg.2 = STRING:
UCD-SNMP-MIB::dskErrorMsg.3 = STRING:
UCD-SNMP-MIB::dskErrorMsg.4 = STRING:
System command output:
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/scsi/host0/bus0/target0/lun0/part1
                       1494236    229536   1188796  17% /
/dev/scsi/host0/bus0/target0/lun0/part2
                       1035692    428560    554520  44% /failsafe
/dev/scsi/host0/bus0/target0/lun0/part5
                       1035692     34552    948528   4% /tmp
/dev/scsi/host0/bus0/target2/lun0/part1
                     1960866168 407891296 1552974872  21% /loglogic
$ snmpwalk -v2c 10.1.1.226 -c public 1.3.6.1.4.1.2021.4
Memory stats.
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1052248
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 847824
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 2067508
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 49424
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 897252
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 79240
UCD-SNMP-MIB::memCached.0 = INTEGER: 1765480
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
System command output:
$ free
             total       used       free     shared    buffers     cached
Mem:       2067508    1937788     129720          0      79360    1680940
-/+ buffers/cache:     177488    1890020
Swap:      1052248     204424     847824

IPv6 Examples

The following IPv6 examples show a few query and response details on an appliance with a sample IP address of fd00::aaaa:a72:4a2b and community string public.

$snmpwalk -v2c udp6:[fd00::aaaa:a72:4a2b]:161 -c public .1.3.6.1.2.1.1.3.0