snmpCommunityString
ETA-RCI10-MIB ·
.1.3.6.1.4.1.44086.4.1.1.1.10
Object
scalar r/w
OctetString
SNMP community string used to access the values. Also the SNMP traps are sent using this community string. Only valid if SNMPv2c is used.
Context
- MIB
- ETA-RCI10-MIB
- OID
.1.3.6.1.4.1.44086.4.1.1.1.10- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmp
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 'ETA-RCI10-MIB' -M '/opt/observium/mibs/eta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ETA-RCI10-MIB::snmpCommunityString.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ETA-RCI10-MIB' -M '/opt/observium/mibs/eta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ETA-RCI10-MIB::snmpCommunityString'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-20