ePDUDeviceControlEnergyReset
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.30.2.2.1.4
Object
column mandatory
r/w
Enumeration
Setting this OID to reset (1) will cause the device energy meter value
to be reset to zero.
Getting this OID in models that support this feature will do nothing
and return the noOperation(0) value.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.30.2.2.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ePDUDeviceControlEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::ePDUDeviceControlEnergyReset'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::ePDUDeviceControlEnergyReset.<ePDUDeviceControlIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::ePDUDeviceControlEnergyReset'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noOperation |
1 | reset |