upsAdvControlSimulatePowerFail

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.6.2.4

Object

scalar mandatory r/w Enumeration
Setting this variable to simulatePowerFailure(2) causes
the UPS switch to battery power.
          
Setting this value to noSimulatePowerFailure(1) has no
effect.
          
The value noSimulatePowerFailure(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.2.4
Type
scalar
Access
readwrite
Status
mandatory
Parent
upsAdvControl

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::upsAdvControlSimulatePowerFail.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::upsAdvControlSimulatePowerFail'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1noSimulatePowerFailure
2simulatePowerFailure