lastResult
MX-SNMPEX-MIB ·
.0.0.900.1.100.1.100.100
Object
scalar OctetString
Last result
Allow retreiving the last snmp request result.
Context
- MIB
- MX-SNMPEX-MIB
- OID
.0.0.900.1.100.1.100.100- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- access
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-SNMPEX-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SNMPEX-MIB::lastResult.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SNMPEX-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SNMPEX-MIB::lastResult'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.