readCommunity
OMNITRON-MIB ·
.1.3.6.1.4.1.7342.2.1.3.1.7
Object
column r/w
OctetString
SNMPv1/v2c read community name.
Context
- MIB
- OMNITRON-MIB
- OID
.1.3.6.1.4.1.7342.2.1.3.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- moduleMgtCfgEntry
- Groups
- 1
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 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::readCommunity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::readCommunity.<modchassnum>.<modslotnum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-MIB::readCommunity'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32
Conformance
Member of