Status in source: current.
Names: syslogMessageFormat
Technical details
{
"smi_kind": "OBJECT-TYPE",
"definition": [
"syslogMessageFormat",
"OBJECT-TYPE",
"SYNTAX",
"OCTET",
"STRING",
"(",
"SIZE",
"(",
"0",
".",
".",
"1024",
")",
")",
"MAX-ACCESS",
"read-write",
"STATUS",
"current",
"DESCRIPTION",
"\" Message Format Specifies the format of a syslog notification. Formal Syntax Description: * Precision = DIGIT * Width = DIGIT * MacroId = (ALPHA / '_') * Macro = %[Width]|[.Precision]|[Width.Precision]MacroId The Width field is the minimum width of the converted argument. If the converted argument has fewer characters than the specified field width, then it is padded with spaces. If the converted argument has more characters than the specified field width, the field width is extended to whatever is required. The Precision field specifies the maximum number of characters to be printed from a string. Examples: message = 'The button is pressed.' * Syslog : %message --> 'The button is pressed.' * Syslog : %25message --> 'The button is pressed. ' * Syslog : %10.5message --> 'The b ' * Syslog : %5.10message --> 'The button' * Syslog : %.5message --> 'The b' Syslog Notification predefined macros: Control characters * %% : % Syslog notification macros * %msgid : The notification numkey. * %mac : Lowercase MAC address of the device. * %serial : Serial number of the device. * %serviceid : The numkey of the service that issued the notification. * %servicetextkey : The textkey of the service that issued the notification. * %servicename : The display name of the service that issued the notification. * %message : The message text of the notification. * %mfpname : The firmware name. * %version : The firmware version. * %profile : The firmware profile. For example, syslog compliant to RFC 5424 may use a format similar to: * 1 - %mac DGW-2.0 %servicetextkey %msgid %message \"",
"DEFVAL",
"{",
[
"literal",
"222573657276696365746578746b65793a20257365727669636569642d25736572766963656e616d653a20256d736769642d256d65737361676522"
],
"}",
"::=",
"{",
"syslogGroup",
"200",
"}"
],
"syntax_tree": [
[
"SimpleSyntax",
"OCTET STRING",
[
"octetStringSubType",
[
[
0,
1024
]
]
]
],
null,
[
"MaxAccessPart",
"read-write"
],
[
"Status",
"current"
],
[
"DESCRIPTION",
"Message Format Specifies the format of a syslog notification. Formal Syntax Description: * Precision = DIGIT * Width = DIGIT * MacroId = (ALPHA / '_') * Macro = %[Width]|[.Precision]|[Width.Precision]MacroId The Width field is the minimum width of the converted argument. If the converted argument has fewer characters than the specified field width, then it is padded with spaces. If the converted argument has more characters than the specified field width, the field width is extended to whatever is required. The Precision field specifies the maximum number of characters to be printed from a string. Examples: message = 'The button is pressed.' * Syslog : %message --> 'The button is pressed.' * Syslog : %25message --> 'The button is pressed. ' * Syslog : %10.5message --> 'The b ' * Syslog : %5.10message --> 'The button' * Syslog : %.5message --> 'The b' Syslog Notification predefined macros: Control characters * %% : % Syslog notification macros * %msgid : The notification numkey. * %mac : Lowercase MAC address of the device. * %serial : Serial number of the device. * %serviceid : The numkey of the service that issued the notification. * %servicetextkey : The textkey of the service that issued the notification. * %servicename : The display name of the service that issued the notification. * %message : The message text of the notification. * %mfpname : The firmware name. * %version : The firmware version. * %profile : The firmware profile. For example, syslog compliant to RFC 5424 may use a format similar to: * 1 - %mac DGW-2.0 %servicetextkey %msgid %message"
],
null,
null,
null,
[
"DEFVAL",
"\"%servicetextkey: %serviceid-%servicename: %msgid-%message\""
]
]
}