sysLogRemoteServerPort
ZHNSYSTEM ·
.1.3.6.1.4.1.5504.2.5.2.1.9.7
Object
scalar r/w
Unsigned32
The UDP port to use to transfer syslog messages to the remote syslog server.
Context
- MIB
- ZHNSYSTEM
- OID
.1.3.6.1.4.1.5504.2.5.2.1.9.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- zhnSystemSyslogObjects
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::sysLogRemoteServerPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNSYSTEM::sysLogRemoteServerPort'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-65535
Conformance
Member of