snmpCommunityContextName

SNMP-COMMUNITY-MIB · .1.3.6.1.6.3.18.1.1.1.5

Object

column r/w OctetString
The context in which management information is accessed
when using the community string specified by the
corresponding instance of snmpCommunityName.

Context

MIB
SNMP-COMMUNITY-MIB
OID
.1.3.6.1.6.3.18.1.1.1.5
Type
column
Access
readwrite
Status
current
Parent
snmpCommunityEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-COMMUNITY-MIB::snmpCommunityContextName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-COMMUNITY-MIB::snmpCommunityContextName.<snmpCommunityIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-COMMUNITY-MIB::snmpCommunityContextName'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-32

Conformance

Member of
Compliance refinements
Write access is not required.