upsETrapState
EPPC-MIB ·
.1.3.6.1.4.1.935.10.1.1.9.2
Object
scalar mandatory
OctetString
the values indicate the unrestored traps. For example, after AC fail, the agent send the trap 1(AC Fail) and trap 7(battery on) to NMS. so the value of upsETrapState should be '1,7'. And then the AC restore, the value of upsETrapState should change to empty.
Context
- MIB
- EPPC-MIB
- OID
.1.3.6.1.4.1.935.10.1.1.9.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsETrapControl
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 'EPPC-MIB' -M '/opt/observium/mibs/powerwalker:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EPPC-MIB::upsETrapState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EPPC-MIB' -M '/opt/observium/mibs/powerwalker:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EPPC-MIB::upsETrapState'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127