systemUptime
MX-HOC-MIB ·
.0.700.1.250.150
Object
scalar OctetString
System Uptime
Time elapsed since the last system restart in a D:HH:MM:SS
format.
Context
- MIB
- MX-HOC-MIB
- OID
.0.700.1.250.150- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- timeGroup
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-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-HOC-MIB::systemUptime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-HOC-MIB::systemUptime'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.