databaseAction
CM-SYSTEM-MIB ·
.1.3.6.1.4.1.2544.1.12.2.1.6.1
Object
scalar r/w
Enumeration
Initiates a configuration database action. This object is
write only. Supported actions are:
backup(1) - Backup the saved configuration database.
restore(2) - Restore the database to the standby partition.
activate(3) - Switches the standby and active partitions and
restarts the system.
save-sysdefaults(4) - Save the database as system defaults.
new-sysdefaults(5) - Restart the system and overwrite the
old system default database with the
factory default database.
restore-sysdefaults(6) - Restart the system using the system
default database.
restore-factorydefaults(7) - Restart the system using the factory
default database.
propagate-to-standby-nemi(8) - Propagate the running database
to standby NEMI and activate it.
force-normal(9) - Accept the database of the NEMI when the NEMI is in DB_maint status.
Context
- MIB
- CM-SYSTEM-MIB
- OID
.1.3.6.1.4.1.2544.1.12.2.1.6.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- cmDatabaseObjects
- Groups
- 2
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 'CM-SYSTEM-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-SYSTEM-MIB::databaseAction.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-SYSTEM-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-SYSTEM-MIB::databaseAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | not-applicable |
1 | backup |
2 | restore |
3 | activate |
4 | save-sysdefaults |
5 | new-sysdefaults |
6 | restore-sysdefaults |
7 | restore-factorydefaults |
8 | propagate-to-standby-nemi |
9 | force-normal |
Conformance
Member of