community

MX-SNMP-MIB · .0.900.1.200.800

Object

scalar r/w OctetString
Community
          
String to use for the community field of SNMPv1 and SNMPv2
read-write commands and traps. It must not be empty.
          
The use of a community name provides context for agents
receiving requests and initiating traps. An SNMP agent won't
respond to a request from a management system outside its
configured community.

Context

MIB
MX-SNMP-MIB
OID
.0.900.1.200.800
Type
scalar
Access
readwrite
Status
current
Parent
protocolGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SNMP-MIB::community.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SNMP-MIB::community'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-32