mgnt2TrapSourcePortNumber

EKINOPS-MGNT2-MIB · .1.3.6.1.4.1.20044.7.3.54

Object

scalar Integer32
This OID gives the port number of the PM that sent the last trap

Context

MIB
EKINOPS-MGNT2-MIB
OID
.1.3.6.1.4.1.20044.7.3.54
Type
scalar
Access
readonly
Status
current
Parent
mgnt2Traps

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-16