oupsOnGenDuration
CPQPOWER-MIB ·
.1.3.6.1.4.1.232.165.6.5.13
Object
scalar mandatory
r/w
Enumeration
When read, show the current On-Generator Duration set by user on UPS LCD or GUI .
Context
- MIB
- CPQPOWER-MIB
- OID
.1.3.6.1.4.1.232.165.6.5.13- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- oupsMonitor
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 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::oupsOnGenDuration.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQPOWER-MIB::oupsOnGenDuration'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | for30Min |
2 | for1Hr |
3 | for2Hr |
4 | for4Hr |