CA SRM provides a factory-defined Pattern file, called samplepattern.pat that you can use as a model to run the service. This is just a sample file that is replaced during upgrades. You need to create your own file to run the service.
The Pattern file contains the information the service uses to filter the records of the TSM Server Activity log files. You can customize the factory-defined file to suit your needs. The Pattern file is located in the \DATABASE\ADSM subdirectory of the CA SRM directory on the Application Server machine.
The Pattern file contains one section, [Activity Log Patterns], which defines a condition for generating attentions and the information included in the attention message, specifies the pattern that is the basis for the inclusion of log file records in the Result file, and sets the severity level displayed in the TSM servers table.
The command syntax is the following:
<pattern>; [<status>] [,<attention>]
where:
<pattern> has the following format: <event> [<condition> <counter>]
where:
<event> is the severity code embedded in the TSM log entry (I, W, E, or S)
or a list of message numbers or message number ranges
or a list of keywords.
<condition> can be =,!=, >, >=, <, <=.
<counter> is a natural, positive number (optional, default is >0).
<status> sets the severity level displayed in the TSM Servers table. It can be:
SEVERITY_FATAL, SEVERITY_CRITICAL, SEVERITY_WARNING, or SEVERITY_HARMLESS.
<attention> has the following format: ATTENTION [:“attention string”]
The attention string is the text included in the attention message when the condition is met.
S>2; SEVERITY_FATAL, ATTENTION: ”Contact TSM Administrator.”
In the above example, if the event “S” is encountered more than twice, server severity is set to FATAL and the “Contact TSM Administrator” attention is issued.
|
Copyright © 2016 CA Technologies.
All rights reserved.
|
|