powerRestorePolicy
IMM-MIB ·
.1.3.6.1.4.1.2.3.51.3.5.7.1
Object
scalar mandatory
r/w
Enumeration
Power Restore Policy determines the mode of operation if a power loss occurs. This setting can also be configured via BIOS F1 setup. 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
- IMM-MIB
- OID
.1.3.6.1.4.1.2.3.51.3.5.7.1- Type
- scalar
- Access
- readwrite
- 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 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::powerRestorePolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IMM-MIB::powerRestorePolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | alwaysoff |
1 | restore |
2 | alwayson |