outletEnergy
Sentry3-MIB ·
.1.3.6.1.4.1.1718.3.2.3.1.18
Object
column Watt-HoursInteger32
The energy consumption of the device plugged into the outlet. A non-negative value indicates the energy consumption in Watt-Hours. A negative value indicates that the energy consumption was not available.
Context
- MIB
- Sentry3-MIB
- OID
.1.3.6.1.4.1.1718.3.2.3.1.18- Type
- column
- Access
- readonly
- Status
- current
- Units
- Watt-Hours
- Parent
- outletEntry
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 'Sentry3-MIB' -M '/opt/observium/mibs/sentry:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Sentry3-MIB::outletEnergy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Sentry3-MIB' -M '/opt/observium/mibs/sentry:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Sentry3-MIB::outletEnergy.<towerIndex>.<infeedIndex>.<outletIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Sentry3-MIB' -M '/opt/observium/mibs/sentry:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Sentry3-MIB::outletEnergy'
Syntax
Watt-HoursInteger32
Values & Constraints
Object Constraints
range: -1-2147483647
range: 4-4