snmpCommunityIndex
SNMP-COMMUNITY-MIB ·
.1.3.6.1.6.3.18.1.1.1.1
Object
column OctetString
The unique index value of a row in this table.
Context
- MIB
- SNMP-COMMUNITY-MIB
- OID
.1.3.6.1.6.3.18.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- snmpCommunityEntry
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 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-COMMUNITY-MIB::snmpCommunityIndex'
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::snmpCommunityIndex.<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::snmpCommunityIndex'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32