mmaSetLock
LIGHTSTREAM-MIB ·
.1.3.6.1.4.1.711.2.1.6.8
Object
scalar mandatory
r/w
Enumeration
If a user locks this field (2 or 3), set commands
are accepted only from that IP address. The lock
times out if the session is idle for two minutes.
There are two configuration files: mma.db.pag and
mma.db.dir. If set to lockPermanent(3), these
files are copied to mma.db.BAK.pag and
mma.db.BAK.dir, and sets are written to the
configuration files. Otherwise sets are written
to run-time memory only. To recover backup
configuration files, the user must log in to the
LightStream node and rename the files.
Context
- MIB
- LIGHTSTREAM-MIB
- OID
.1.3.6.1.4.1.711.2.1.6.8- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- mmaInfo
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 'LIGHTSTREAM-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LIGHTSTREAM-MIB::mmaSetLock.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LIGHTSTREAM-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LIGHTSTREAM-MIB::mmaSetLock'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unlock |
2 | lockVolatile |
3 | lockPermanent |