Modifying a user-defined syslog template – H3C Technologies H3C Intelligent Management Center User Manual

Page 699

Advertising
background image

685

A parameter cannot include any of the following:
dollar sign ($), left parenthesis ((), right parenthesis ()), asterisk (*), left brace ({), right brace (}), left
angle brackets (<), or right angle bracket (>).

Carriage returns and line feed characters are not allowed in a variable or parameter.
Content to be matched cannot include identical parameters.
At least one visible character must be placed between two parameters. This character cannot be
an asterisk (*).
Spaces preceding or following a parameter are ignored. For example, the following two

parameters are considered identical:

$(parameter-name) and $( parameter-name).

5.

Enter a description for this template in the Description field.
Valid length is 0-64 characters.

6.

Click OK.

Modifying a user-defined Syslog template

To modify a user-defined Syslog template:

1.

Navigate to Syslog Template.

a.

Click the Alarm tab from the tabular navigation system on the top.

b.

Click Syslog Management on the navigation tree on the left.

c.

Click Syslog Template under Syslog Management from the navigation system on the left.

2.

Click the Modify icon associated with the Syslog template you want to modify.
You cannot modify the name of a Syslog template once it has been created.

3.

Modify the contents of the Syslog event that you want this template to search Syslog entries for in
the Template Content field.

Guidelines for the template content field

IMC supports the use of variables or parameters for matching dynamic content in Syslog entries,
though, the use of variables or parameters in Syslog Templates is not required.
The template content to be matched can include an asterisk (*) as a wildcard. An asterisk
represents for one or more characters. You cannot use asterisks to represent the whole content.
You cannot use the dollar sign ($) as content to be matched.
You can use variables or parameters to represent the content to be matched. Variables or
parameters take the format of

$(parameter-name)

For example,
Duplicate address

$(Duplicate IP)

on

$(Source VLAN)

.

A parameter cannot include any of the following:
dollar sign ($), left parenthesis ((), right parenthesis ()), asterisk (*), left brace ({), right brace (}), left
angle brackets (<), or right angle bracket (>).
Carriage returns and line feed characters are not allowed in a variable or parameter.
Content to be matched cannot include identical parameters.
At least one visible character must be placed between two parameters. This character cannot be
an asterisk (*).

Advertising