trapCommunity
LAN-MODULE ·
.1.3.6.1.4.1.17095.2.1.1.4
Object
column mandatory
r/w
OctetString
Trap community to be used by agent to send trap
Context
- MIB
- LAN-MODULE
- OID
.1.3.6.1.4.1.17095.2.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- trapEntry
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 'LAN-MODULE' -M '/opt/observium/mibs/tinycontrol:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LAN-MODULE::trapCommunity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LAN-MODULE' -M '/opt/observium/mibs/tinycontrol:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LAN-MODULE::trapCommunity.<trapReceiverNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LAN-MODULE' -M '/opt/observium/mibs/tinycontrol:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LAN-MODULE::trapCommunity'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-7