Nav

Configuring Alerts

Depending on your subscription level, you can configure different types of alerts:

  • Operational alerts for APIs through API Manager

  • Operational alerts for the runtime through Runtime Manager

  • Alerts for graphs in custom dashboards in Anypoint Monitoring

    Note that thresholds are checked every 5 minutes. The evaluated query is the average value of the metric in the last 5 minutes. The evaluated metric is the one referenced in the General tab for the graph. If the value is above the threshold, the alert is triggered. The alert is triggered only if the alert state changes (from OK state to Alerting state or vice versa).

Setting Up API and Runtime Alerts

From Alerts in Anypoint Monitoring, you can link out to configuration pages for API and Runtime alerts. If no alerts are set up, you see links to alert configurations, for example:

API and Runtime Alert Setup
Figure 1. Links for API and Runtime Alert Configuration
  • API Operational Alerts: For guidance with alerts in API Manager, see About API Alerts. Note that these alerts are not listed in the Alerts page for Anypoint Monitoring.

  • Runtime Operational Alerts: For guidance with alerts in Runtime Manager, see About Configuring Alerts using Runtime Manager. Note that these alerts are not listed in the Alerts page for Anypoint Monitoring.

Setting up Alerts for Graphs in Custom Dashboards

You can set up alerts to trigger email notifications when a data point you are measuring (JVM - CPU % Utilization) exceeds a specified threshold. These alerts are listed in the Alerts page in Anypoint Monitoring.

Alert Configuration

To Configure an Alert

  1. Navigate to the configuration screen for a graph in a custom dashboard. For guidance, see Configuring Custom Dashboards.

  2. Provide a General configuration for the graph that (at minimum) defines the metric, environment, and resource for which you want to set the alert. For guidance, see General Settings.

  3. Navigate to the Alert configuration tab for the graph.

  4. Click Create Alert.

  5. Use Alert Config to configure the alert. See Alert Config.

  6. Configure any notifications to email when an alert is triggered. See Notifications.

Note that you can also view state history and delete alerts.

Alert Config

You can configure the condition under which an alert is triggered.

Settings for Alerts

Name

A title for your alert.

Condition

WHEN: For triggering an alert when the JVM - CPU % Utilization is above a specified level.

Notifications

You configure a notification to email when an alert is triggered.

Notification Settings for Alerts

Send To

Email address for a recipient of the alert notification. You can add more than one email recipient to the list.

Message

Message to send to the recipient.

After you complete your configuration, you can click Save Changes. To exit the configuration and return to the dashboard, simply click the X.

State History

You view the last fifty state changes in this section of the UI.

You can also clear the history.

Delete

To delete an alert, simply click Delete on the left-side menu and then confirm your deletion.

Adding Alerts

Once alerts are listed on your Alerts page, you can use Add Alerts to link out to API and Runtime Alert configuration pages. You can also get basic instructions for configuring alerts for a chart (widget) in a custom dashboard.

Alerts Menu