snmpSyslogCollectorDefaultUdpPort

DLINK-3100-SYSLOG-DEVICE-MIB · .1.3.6.1.4.1.171.10.94.89.89.82.1.2.5

Object

scalar r/w SyslogUdpPort
The default UDP port number that the managed entity is
using to send syslog messages.
          
This value will be used as the default value for
snmpSyslogCollectorUdpPort when creating rows in the
snmpSyslogCollectorTable and either:
          
1.)  no value is specified for snmpSyslogCollectorUdpPort, or
          
2.)  snmpSyslogCollectorUdpPort is implemented read-only.
          
If snmpSyslogCollectorUdpPort is implemented read-only,
and this value is changed, it SHOULD affect the UDP
port that is used to send syslog messages to all
collectors as soon as it is practical.
          
This parameter value is maintained across system reboots.

Context

MIB
DLINK-3100-SYSLOG-DEVICE-MIB
OID
.1.3.6.1.4.1.171.10.94.89.89.82.1.2.5
Type
scalar
Access
readwrite
Status
current
Parent
snmpSyslogCollector
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 'DLINK-3100-SYSLOG-DEVICE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-3100-SYSLOG-DEVICE-MIB::snmpSyslogCollectorDefaultUdpPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINK-3100-SYSLOG-DEVICE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINK-3100-SYSLOG-DEVICE-MIB::snmpSyslogCollectorDefaultUdpPort'

Syntax

Source
SyslogUdpPort
Base type
Unsigned32

Values & Constraints

No enumerated values or constraints recorded.

Conformance

Member of
Compliance refinements
Write access is not required for implementations that
do not support configuring the UDP port number at all,
or do not want to support a configurable default.
Hopefully, it is only the later.