hzOduSnmpTrapHostCommunityName
HORIZON-ODU-MIB ·
.1.3.6.1.4.1.7262.2.2.9.1.1.4
Object
The community string name used in Traps.
Context
- MIB
- HORIZON-ODU-MIB
- OID
.1.3.6.1.4.1.7262.2.2.9.1.1.4- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hzOduSnmpTrapHostEntry
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 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostCommunityName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostCommunityName.<hzOduSnmpTrapHostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostCommunityName'
Syntax
- Source
- DisplayString
- Base type
OctetString
Values & Constraints
Object Constraints
range: 0-24