powerRestorePolicy
LENOVO-XCC-MIB ·
.1.3.6.1.4.1.19046.11.1.1.10.2.2.1
Object
scalar mandatory
Enumeration
Power Restore Policy determines the mode of operation if a power loss occurs. This setting can also be configured via BIOS F1 setup. Rack system only.
alwaysoff: System will remain off once power is restored.
restore: Restores system to the same state it was before power failed.
alwayson: System will automatically power on once power is restored.
Context
- MIB
- LENOVO-XCC-MIB
- OID
.1.3.6.1.4.1.19046.11.1.1.10.2.2.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- powerRestorePolicyControl
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 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-XCC-MIB::powerRestorePolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-XCC-MIB::powerRestorePolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | alwaysoff |
1 | restore |
2 | alwayson |