Setting Action

In the Set Action screen of Rule Wizard, you can set an action to be performed when a rule condition is met.

The available actions are:

  • Email-action: you can send email to specified users. To change the text in the email body, refer to Customization of an Email-Action.
    Note: To set Action Name as Email-action, you must set the Email Action Configuration Properties while configuring the TIBCO Service Performance Manager Server (step: TIBCO Service Performance Manager Mail and Log). For more information, see the TIBCO® Service Performance Manager Installation and Configuration Guide.
  • Log-action: you can log alerts in the SPM_HOME\actionlogs\logaction.log file in the XML or TEXT format.
  • No-Action: does not take any action, except for sending alerts to the Alerts dashboard. By default, all the alerts are sent to the dashboard.
    Note: Do not change the rule constraints (that is, condition or action) while editing the rule. For example, change an action constraint from (Once/Recurring/Always) to another. We recommend creating a new rule if you need to change the constraint.
    New Rule Wizard > Set Action


Procedure

  1. In the Alert Severity list, select the level of severity.
  2. In the Action Name list, select the type of action.

    If you select Email-Action, a few additional fields are displayed. For details, see the example Example Authoring a Rule with E-mail Action.

  3. In the Constraint area, define the frequency at which the action needs to be performed:

    Once: performs action only once.

    Recurring: Repeats action every <number> seconds, for <number> more times. Note that the total count of alerts is always <maximum number + 1> as the first alert is triggered immediately after the rule condition is met, followed by the execution of alert at the specified <number> of times.

    Always: performs the action whenever the specified condition is met.