Create a monitor status rule

edit

Create a monitor status rule

edit

Within the Uptime app, create a Monitor Status rule to receive notifications based on errors and outages.

  1. To access this page, go to ObservabilityUptime.
  2. At the top of the page, click Alerts and rulesCreate rule.
  3. Select Monitor status rule.

If you already have a query in the overview page search bar, it’s populated here.

Conditions

edit

You can specify the following thresholds for your rule.

Status check

Receive alerts when a monitor goes down a specified number of times within a time range (seconds, minutes, hours, or days).

Availability

Receive alerts when a monitor goes below a specified availability threshold within a time range (days, weeks, months, or years).

Let’s create a rule for any monitor that shows Down more than three times in 10 minutes. We’ll choose to only be notified on an alert status change so that we’re not flooded with alert notifications. This means actions are not repeated when an alert remains active across checks. Actions will run only when the alert status changes.

This rule covers all the monitors you have running. You can use a query to specify specific monitors, and you can also have different conditions for each one.

Monitor status rule

The final step when creating a rule is to select one or more actions to take when the alert is triggered.

Action types

edit

You can extend your rules by connecting them to actions that use the following supported built-in integrations. Actions are Kibana services or integrations with third-party systems that run as background tasks on the Kibana server when rule conditions are met.

You can configure action types on the Settings page.

Uptime rule connectors

Action variables

edit

Use the default notification message or customize it. You can add more context to the message by clicking the icon above the message text box and selecting from a list of available variables.

Default notification message for monitor status rules with open "Add variable" popup listing available action variables

Alert recovery

edit

To receive a notification when the alert recovers, select Run when Recovered. Use the default notification message or customize it. You can add more context to the message by clicking the icon above the message text box and selecting from a list of available variables.

Default recovery message for monitor status rules with open "Add variable" popup listing available action variables