upsControlUpsOnOffControl
USHA-P-MIB ·
.1.3.6.1.4.1.2468.1.2.1.1.7.3
Object
scalar mandatory
r/w
Enumeration
Setting this variable to control UPS output status. turnUpsOff(1) will set UPS turn off output after upsControlUpsShutdownDelay period expired. putUpsToSleep(2) will set UPS turn off output after upsControlUpsShutdownDelay period expired, UPS output will stay off with the period defined by upsControlUpsSleepTime, then turn output on. turnOnUpsOrCancelShutdown(3) can used to turn on UPS output, or cancel any shutdown process.
Context
- MIB
- USHA-P-MIB
- OID
.1.3.6.1.4.1.2468.1.2.1.1.7.3- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsControlGroup
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 'USHA-P-MIB' -M '/opt/observium/mibs/ingrasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USHA-P-MIB::upsControlUpsOnOffControl.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'USHA-P-MIB' -M '/opt/observium/mibs/ingrasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'USHA-P-MIB::upsControlUpsOnOffControl'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | turnUpsOff |
2 | putUpsToSleep |
3 | turnOnUpsOrCancelShutdown |
4 | none |