powerOnHours

OBS ✓
LENOVO-XCC-MIB · .1.3.6.1.4.1.19046.11.1.5.1.2

Object

scalar mandatory Integer32
Number of hours the system has been powered on.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Sensors
Explore Observium network monitoring

Context

MIB
LENOVO-XCC-MIB
OID
.1.3.6.1.4.1.19046.11.1.5.1.2
Type
scalar
Access
readonly
Status
mandatory
Parent
powerStatistics

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-XCC-MIB::powerOnHours.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-XCC-MIB::powerOnHours'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647