mgmtSnmpReadPassword
PROXIM-MIB ·
.1.3.6.1.4.1.841.1.1.2.2.1
Object
This parameter is used for the SNMP password and represents the read-only
community name used in the SNMP protocol.It is used for reading objects
from the SNMP agent. The password should be treated as write-only and would
be returned as asterisks. User is not allowed to set since it is same as
mgmtSnmpReadWritePassword
Context
- MIB
- PROXIM-MIB
- OID
.1.3.6.1.4.1.841.1.1.2.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- mgmtSnmp
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 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROXIM-MIB::mgmtSnmpReadPassword.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PROXIM-MIB::mgmtSnmpReadPassword'