snmpTrapCommunity
SNMP-COMMUNITY-MIB ·
.1.3.6.1.6.3.18.1.4
Object
scalar OctetString
The value of the community string field of an SNMPv1 message containing a Trap PDU which is forwarded by a a proxy forwarder application using an SNMP version other than SNMPv1. The value of this object SHOULD contain the value of the community string field from the original SNMPv1 message containing a Trap PDU as generated by an SNMPv1 agent. There is no SIZE constraint specified for this object because RFC 1157 does not impose any explicit limitation on the length of community strings (their size is constrained indirectly by the SNMP message size).
Context
- MIB
- SNMP-COMMUNITY-MIB
- OID
.1.3.6.1.6.3.18.1.4- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- snmpCommunityMIBObjects
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::snmpTrapCommunity.0'
More examples
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::snmpTrapCommunity'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of