Creating a rule

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

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:

  1. Select Manage > Rules and Actions > Rules from the IBM Sterling Control Center Monitor window. 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 Enable to enable it, and click Next.
  4. 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. Click Next.
    Tip: When choosing multiple Values for a single Key, separate the Values with a pipe (|) character and use Reg Ex as the Operator.
  5. 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 button for Rule / Metadata Schedules. You can duplicate an existing schedule and modify the duplicate by clicking the Duplicate button. View the properties of a schedule in either Rule / Metadata Schedules or Selected Schedules by selecting the schedule and clicking the Properties button.

  6. 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. Click Next.
    Tip: Create a new action by clicking the Create button next to Action. You can duplicate an existing action and modify the duplicate by clicking the Duplicate button. View an action's properties by selecting the action and clicking the Properties button.
  7. If this is a linked rule, take the following steps: Click Enabled to enable the linkage. 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. And specify the Timeout period in minutes.
    Attention: Process events (Process Started, Process Step Started, Process Step Ended, and Process Ended) are all generated simultaneously by IBM Sterling Control Center Monitor for Sterling Connect:Enterprise® for z/OS®, Sterling Connect:Enterprise for UNIX, and most native FTP servers because only the file transfer ending event is recognized. This simultaneous generation can impact linked rules that you create for process events of these server types.
  8. Click Next and then Finish to add the rule to the Rules listing.
  9. Click Close to close the Create Rule wizard.
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.