syslogMsgDisplayLocalHost
MX-SYSLOG-MIB ·
.1.3.6.1.4.1.4935.15.17.1.200.200
Object
Enables/Disables displaying the unit?s current local host as
part of the prefix for all syslog messages.
disable: The local host is not displayed in the prefix of the
syslog messages.
enable : The local host is displayed in the prefix of the
syslog messages.
This affect only syslog messages sent on the network and not the
local syslog messages.
Context
- MIB
- MX-SYSLOG-MIB
- OID
.1.3.6.1.4.1.4935.15.17.1.200.200- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
enable- Parent
- syslogMsgCustomization
- 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 'MX-SYSLOG-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SYSLOG-MIB::syslogMsgDisplayLocalHost.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SYSLOG-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SYSLOG-MIB::syslogMsgDisplayLocalHost'
Syntax
- Source
- MX-TCMxEnableState
- Base type
Enumeration
Values & Constraints
Type Values
0 | disable |
1 | enable |
Conformance
Member of