contextIdentity
SNMPv2-PARTY-MIB ·
.1.3.6.1.6.3.3.2.2.1.1.1
Object
column Context
A context identifier uniquely identifying a particular SNMPv2 context.
Context
- MIB
- SNMPv2-PARTY-MIB
- OID
.1.3.6.1.6.3.3.2.2.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- contextEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMPv2-PARTY-MIB::contextIdentity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMPv2-PARTY-MIB::contextIdentity.<contextIdentity>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMPv2-PARTY-MIB::contextIdentity'