Customizing Alert Messages

Whenever a metric threshold is reached, an alert is raised along with a metric-specific message. These messages are written to address generic metric alert conditions. Beginning with Enterprise Manager Release 12.1.0.4, you can customize these messages to suit the specific requirements of your monitored environment.

Customizing an alert message allows you to tailor the message to suit your monitoring needs. You can tailor the message to include their operational context specific to your environment such as IT error codes used in your data center, or add additional information collected by Enterprise Manager such as:

  • Metric name for which the alert has been triggered

  • Severity level of the alert or violation

  • Threshold value for which warning or critical violation has been triggered

  • Number of Occurrences after which alert has been triggered

    To prevent false alerts due to spikes in metric values, the Number of Occurrences determines the period of time a collected metric value must remain above or below the threshold value before an alert is triggered or cleared. For example, if a metric value is collected every 5 minutes, and the Number of Occurrences is set to 6, the metric values (collected successively) must stay above the threshold value for 30 minutes before an alert is triggered. Also, after the alert is triggered, the same metric value needs to stay below its threshold for the same number of occurrences before the alert is cleared. For server-generated alerts, the evaluation frequency is determined by the Oracle Database internals. Refer to the Oracle Database documentation on Oracle Database Server-Generated Alerts for additional details.

Alert message customization allows for more efficient alert management by increasing message usability.

To customize a metric alert message:

  1. Navigate to a target homepage.
  2. From the target menu (host target type is shown in the graphic), select Monitoring and then Metric and Collection Settings.

    alert customization menu access

    The Metric and Collection Settings page displays.

  3. In the metric table, find the specific metric whose message you want to change and click the edit icon (pencil).

    Metric and Collections settings

    The Edit Advanced Settings page displays.

  4. In the Monitored Objects region, click Edit Alert Message.

    Edit Alert Message

  5. Modify the alert message as appropriate.

    Note:

    To change your revised message back to the original Oracle-defined message at any time, click Reset Alert Message.

  6. Click Continue to return to the Metric and Collection Settings page.
  7. To modify additional metric alert messages, repeat steps three through six.
  8. Once you are finished, click OK to save all changes to the Enterprise Manager Repository. Enterprise Manager will display a message indicating the updates have succeeded.
  9. Click OK to dismiss the message and return to the target homepage.