battManResetDischargeCounters
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.16.12.4
Object
scalar mandatory
r/w
Enumeration
Setting this OID to reset(2) will reset all discharge event counters. Getting this OID will do nothing and return the noOperation(1) value.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.16.12.4- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- battManControl
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::battManResetDischargeCounters.0'
More examples
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::battManResetDischargeCounters'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noOperation |
2 | reset |