upsBasicControlConserveBattery

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.6.1.1

Object

scalar mandatory r/w Enumeration
Setting this variable to turnUpsOffToConserveBattery(2)
causes a UPS on battery to be put into 'sleep' mode.  The
UPS will turn back on when utility power is restored.
Attempting to turn off a UPS that is not on battery will
result in a badValue error.
          
Setting this value to noTurnOffUps(1) has no
effect.
          
The value noTurnOffUps(1) will always be returned
when the variable is read.

Context

MIB
PowerNet-MIB
OID
.1.3.6.1.4.1.318.1.1.1.6.1.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
upsBasicControl

Scalars 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::upsBasicControlConserveBattery.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::upsBasicControlConserveBattery'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1noTurnOffUps
2turnOffUpsToConserveBattery