pingProbeHistoryLastRC

DISMAN-PING-MIB · .1.3.6.1.2.1.80.1.4.1.4

Object

The last implementation-method-specific reply code received.
If the ICMP Echo capability is being used, then a successful
probe ends when an ICMP response is received that contains
the code ICMP_ECHOREPLY(0).  The ICMP codes are maintained
by IANA.  Standardized ICMP codes are listed at
http://www.iana.org/assignments/icmp-parameters.
The ICMPv6 codes are listed at
http://www.iana.org/assignments/icmpv6-parameters.

Context

MIB
DISMAN-PING-MIB
OID
.1.3.6.1.2.1.80.1.4.1.4
Type
column
Access
readonly
Status
current
Parent
pingProbeHistoryEntry
Groups
2

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DISMAN-PING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-PING-MIB::pingProbeHistoryLastRC'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DISMAN-PING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-PING-MIB::pingProbeHistoryLastRC.<pingCtlOwnerIndex>.<pingCtlTestName>.<pingProbeHistoryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DISMAN-PING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DISMAN-PING-MIB::pingProbeHistoryLastRC'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance