oaTrapDestInsertHostNameInfo

OA-TRAP-DESTINATIONS-MIB · .1.3.6.1.4.1.629.1.50.11.1.21.6

Object

scalar r/w Enumeration
When enabled(1), then all notifications will contain an extra parameter sysName.
Corresponds to CLI command '[no ]bind-hostname-to-alarms'

Context

MIB
OA-TRAP-DESTINATIONS-MIB
OID
.1.3.6.1.4.1.629.1.50.11.1.21.6
Type
scalar
Access
readwrite
Status
current
Parent
oaTrapDestinations
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OA-TRAP-DESTINATIONS-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OA-TRAP-DESTINATIONS-MIB::oaTrapDestInsertHostNameInfo.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OA-TRAP-DESTINATIONS-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OA-TRAP-DESTINATIONS-MIB::oaTrapDestInsertHostNameInfo'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled

Conformance