Creating a rule

Create rules to provide system instructions that IBM® Sterling Control Center Monitor executes automatically.

About this task

You can also use predefined rules provided with IBM Sterling Control Center Monitor.

Tip:

IBM Sterling Control Center Monitor comes with a standalone utility that simplifies creation of multiple actions, rules, and other IBM Sterling Control Center Monitor objects.

To create a single rule via web console:

Procedure

  1. Select Manage > Rules & Actions > All Rules from the IBM Sterling Control Center Monitor Web Console. The Rules listing is displayed.
  2. Click the Create button to display the Create Rule wizard.
  3. Type a Name and Description for the rule, click Enabled to enable it.
  4. Under What event parameters trigger this rule?, specify one or more parameters to further define the rule by choosing a Key and Operator and entering a Value. The list of operators depends on whether the parameter is numeric (Return Code and File Size) or alphanumeric.
    Tip: When choosing multiple Values for a single Key, separate the Values with a pipe (|) character and use Reg Ex as the Operator.
  5. Under Schedules, select one or more Schedules to associate with the rule by choosing from the drop-down list.

    Tip: Create a new schedule by clicking the Create a new schedule link for Rule / Metadata Schedules.

  6. Under Actions, select an Action to perform when the defined parameters and schedules are met. For a linked rule, this is the first action to complete when IBM Sterling Control Center Monitor detects the initial condition.
    Tip: Create a new action by clicking the Create button next to Create a new action.
  7. Select Use secondary actions... checkbox to enable the linkage. Under Secondary actions specify the following parameters:
    • Specify the Timeout period in minutes.
    • Conditions that trigger the secondary actions: Specify the Parameters (conditions) under which the linked rule is to be triggered.
    • Specify a Resolution Action to take if the linked rule's condition is resolved before the timeout period elapses.
    • Specify a Non-Resolution Action to take if the condition remains unresolved after the timeout period has elapsed.
  8. Under Occurrence Parameters, to trigger the rule after certain occurrences of the event within a certain amount of time, specify Occurrence Count and Occurrence Window in minutes. These are optional parameters. If you have specified values for Secondary action, then these parameters must not be specified. Specifying both Secondary action and Occurrence parameters will result in unpredictable rule match.
    Use cases for specifying Occurrence parameters are given below:
    • Generate alert if a process fails more than ten times within five minutes window.
    • Generate alert if a user attempts to login with invalid credentials more than five times with five minutes window.
  9. To enable alert generation for potential duplicate file transfers, select the Check for duplicate occurrence with exact values of event match parameter checkbox. When this checkbox is selected, the occurrence parameter fields become mandatory, and values must be entered for Occurrence Count and Occurrence Window (in minutes).

    If the checkbox is selected, specify the maximum allowed occurrence count as 2.

    Duplicate alert generation is fully supported on CD, SSP, and B2BI servers.
    Note: Other servers are supported by Control Center with limited or generic functionality.
  10. Click Save.

Results

After you create a rule, it is displayed in the Rules listing. Enabled rules are applied in the order in which they are listed. Therefore, rules with specific criteria should precede rules with general criteria. Only one rule per rule set is triggered per event, so if the first rule is too general, a match always occurs and subsequent rules are ignored.