snmpTargetTrapCommunityString
CORIANT-GROOVE-MIB ·
.1.3.6.1.4.1.42229.1.2.8.1.4.1.1.7
Object
column CoriantTypesSnmpString
Community string used for SNMP traps
Conditions:../snmp-version = 'v2c'
default value :groove
Context
- MIB
- CORIANT-GROOVE-MIB
- OID
.1.3.6.1.4.1.42229.1.2.8.1.4.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- snmpTargetEntry
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 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::snmpTargetTrapCommunityString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::snmpTargetTrapCommunityString.<snmpTargetTargetName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CORIANT-GROOVE-MIB::snmpTargetTrapCommunityString'
Syntax
- Source
- CoriantTypesSnmpString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 1..32