cpqHoTrapFlags
CPQHOST-MIB ·
.1.3.6.1.4.1.232.11.2.11.1
Object
The Trap Flags.
This is a collection of flags used during trap delivery.
Each bit has the following meaning:
Bit 5-31: RESERVED: Always 0.
Bit 2-4: Trap Condition
0 = Not used (for backward compatibility)
1 = Condition unknown or N/A
2 = Condition ok
3 = Condition degraded
4 = Condition failed
5-7 = reserved
Bit 1: Client IP address type
0 = static entry
1 = DHCP entry
Bit 0: Agent Type
0 = Server
1 = Client
NOTE: bit 31 is the most significant bit, bit 0 is the least
significant.
Context
- MIB
- CPQHOST-MIB
- OID
.1.3.6.1.4.1.232.11.2.11.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- cpqHoTrapInfo
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 'CPQHOST-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQHOST-MIB::cpqHoTrapFlags.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQHOST-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQHOST-MIB::cpqHoTrapFlags'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647