agentSaveCfg
AGENT-MIB ·
.1.3.6.1.4.1.171.12.1.2.6
Object
scalar r/w
Enumeration
This indicates the current device saving type will be saved into to NV-RAM. other(1) - none of the following. cfg(3) - save configuration. log(4) - save log. all(5) - save both ( active configuration & log).
Context
- MIB
- AGENT-MIB
- OID
.1.3.6.1.4.1.171.12.1.2.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentBasicConfig
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 'AGENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AGENT-MIB::agentSaveCfg.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AGENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AGENT-MIB::agentSaveCfg'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
3 | cfg |
4 | log |
5 | all |