syslogSendLogType
HUAWEI-SERVER-IBMC-MIB ·
.1.3.6.1.4.1.2011.2.235.1.1.34.50.1.5
Object
The log type of syslog send.
Support set/get any combination of the 3 log type(OperationLogs,SecurityLogs,EventLogs), use comma to separate them.
none/all is also supported,but never use it with the 3 log types together.
e.g. To set OperationLogs + SecurityLogs log type message, just set:
OperationLogs,SecurityLogs
To set EventLogs message, just set:
EventLogs
To set none level message, just set:
none
To set all level message, just set:
all
Context
- MIB
- HUAWEI-SERVER-IBMC-MIB
- OID
.1.3.6.1.4.1.2011.2.235.1.1.34.50.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- syslogInfoDescriptionEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-SERVER-IBMC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SERVER-IBMC-MIB::syslogSendLogType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SERVER-IBMC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SERVER-IBMC-MIB::syslogSendLogType.<syslogReceiverIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SERVER-IBMC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SERVER-IBMC-MIB::syslogSendLogType'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.