ahPowerSrc

AH_TRAP_MIB · .1.3.6.1.4.1.26928.1.1.1.1.2.28

Object

scalar Enumeration
It indicates whether the power source is from the power adaptor or PoE. 
If the power source is the adaptor, PoE information in the trap is ignored.

Context

MIB
AH_TRAP_MIB
OID
.1.3.6.1.4.1.26928.1.1.1.1.2.28
Type
scalar
Access
noaccess
Status
current
Parent
ahNotificationVarBind

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0adaptor
1poe