cpqSeLEDState
CPQSTDEQ-MIB ·
.1.3.6.1.4.1.232.1.2.21.1.1.2
Object
This value represents the state of an LED.
Bit 31..24 = ON-duration time in unit of 0.1 sec
Bit 23..16 = OFF-duration time in unit of 0.1 sec
Bit 15..8 = 0, LED state is OFF
= 1, LED state is ON
= 2, LED state is BLINKING
Bit 7..0 = 0, invalid color value
= 1, LED color is Brown
= 2, LED color is Red
= 3, LED color is Orange
= 4, LED color is Yellow
= 5, LED color is Green
= 6, LED color is Blue
= 7, LED color is Violet
= 8, LED color is Gray
= 9, LED color is White
Context
- MIB
- CPQSTDEQ-MIB
- OID
.1.3.6.1.4.1.232.1.2.21.1.1.2- Type
- column
- Access
- readwrite
- Status
- optional
- Parent
- cpqSeLEDEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CPQSTDEQ-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSTDEQ-MIB::cpqSeLEDState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSTDEQ-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSTDEQ-MIB::cpqSeLEDState.<cpqSeLEDIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSTDEQ-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSTDEQ-MIB::cpqSeLEDState'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647