Alerts and Notification > Rule-Based Alert Generation

Rule-Based Alert Generation and Dynamic threshold-based Alerts

Specify Conditions

In this step, you define the conditions that will trigger alert notifications. You have the flexibility to set multiple conditions and use complex logic to determine when alerts should be generated.

By default, alerts are triggered when data from the Data Model matches the predefined threshold condition. The thresholds are initially set in the Data Models during their creation.

When configuring an alert, you can either stick with the Data Model’s default threshold or customize it by setting a specific threshold within the alert creation page. This way, you can fine-tune the conditions that trigger alert notifications.

Compound Alert Rules

If you have two or more Data Models configured as separate rules within an alert rule, the alarm state becomes active only when all these rules are active. However, if you need the alarm to activate when any one of the rule conditions is met, you can utilize an alert evaluation script configuration. For more information on this, please refer to the sections on alert evaluation scripts.

As mentioned earlier, within a Data Model, the alarm state becomes active if any of the metrics’ thresholds trigger the alarm state. This behavior can also be modified using an Alert Evaluation Script.

Configure Logic Conditions

Alert Evaluation conditions provide additional controls to alter the behavior of alert rules and notifications. This is typically used only for advanced cases and can be left empty for regular cases.

Alert notification behavior and notification contents can be modified using the conditions specified here. For example, based on the value of a metric (Metric Condition), you can decide the email recipients for a notification.

Based on the metric condition, duration, and/or severity of the alert, three types of controls are possible:

  • Decide whether an alert notification should be generated
  • Modify the contents of the notification
  • Modify the notification channels to be used and individual recipients within the channel
  • The evaluation conditions configured here are executed from top to bottom. The system stops the execution as soon as a condition matches.
  • Condition Name: Optional name for the logic condition. This can be configured to represent the purpose of this block.
  • Match all the following conditions: When selected, actions configured in this block are executed by the system, if all the conditions specified here are satisfied.
  • Match any of the following conditions: When selected, actions configured in this block are executed by the system, if one of the conditions specified here is satisfied.
  • Generate Alert on Match (toggle): If it is enabled then alert notification is generated when the conditions match and vice versa.
  • Metric Condition: The list of conditions for this block. Each condition compares the selected source field with the value specified. If these conditions are satisfied, the system will use the configuration in this block to decide whether a notification should be generated. In addition, the system will use the alert content and alert destination configured in this block to control the notification generated.
  • Alert Content: The actions listed here are used to modify, remove, or add fields in the notification.
  • Alert Destination: Modifications listed here will be applied to the notification channels and recipients.


Browse through our resources to learn how you can accelerate digital transformation within your organisation.

Unveiling our all powerful IBMB Observability ExperienceCenter. Click Here