cpqLinOsSystemUpTime
CPQLINOS-MIB ·
.1.3.6.1.4.1.232.23.2.2.2
Object
scalar mandatory
OctetString
Total Time that the computer has been operational since it was last started.
Context
- MIB
- CPQLINOS-MIB
- OID
.1.3.6.1.4.1.232.23.2.2.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- cpqLinOsSystem
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 'CPQLINOS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQLINOS-MIB::cpqLinOsSystemUpTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQLINOS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQLINOS-MIB::cpqLinOsSystemUpTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64