restartOption
AETHRA-MIB ·
.1.3.6.1.4.1.7745.5.2.18.1
Object
scalar mandatory
r/w
Enumeration
Set this parameter to choose restart command option. saveConf(0) saving configuration changes before restart the system, notSaveConf(1) restart the system without saving configuration changes, restoreDefaultConf(2) restart the system with the default configuration, restoreFactoryDefault(3) available only from version 5.6.14, restart the system with the factory default. OID: 1.3.6.1.4.1.7745.5.2.18.1
Context
- MIB
- AETHRA-MIB
- OID
.1.3.6.1.4.1.7745.5.2.18.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- systemRestart
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 'AETHRA-MIB' -M '/opt/observium/mibs/aethra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AETHRA-MIB::restartOption.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AETHRA-MIB' -M '/opt/observium/mibs/aethra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AETHRA-MIB::restartOption'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | saveConf |
1 | notSaveConf |
2 | restoreDefaultConf |
3 | restoreFactoryDefault |