sunMasterAgentTrapPort

SUN-MASTER-AGENT-MIB · .1.3.6.1.4.1.42.2.15.4

Object

scalar mandatory Integer32
This is the port that master agent opens to receive SNMP trap
notifications from various subagents. The master agent 
forwards these traps to the managers appropriately.

Context

MIB
SUN-MASTER-AGENT-MIB
OID
.1.3.6.1.4.1.42.2.15.4
Type
scalar
Access
readonly
Status
mandatory
Parent
sunMasterAgent

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647