docs-v2/content/influxdb/v2/monitor-alert/notification-rules/create.md

2.0 KiB

title description weight menu related
Create notification rules Create notification rules to send alerts on your time series data. 201
influxdb_v2
parent
Manage notification rules
/influxdb/v2/monitor-alert/checks/
/influxdb/v2/monitor-alert/notification-endpoints/

Once you've set up checks and notification endpoints, create notification rules to alert you. For details, see Manage checks and Manage notification endpoints.

  1. In the navigation menu on the left, select Alerts > Alerts.

    {{< nav-icon "alerts" >}}

  2. Select {{< caps >}}Notification Rules{{< /caps >}} near to top of the page.

Create a new notification rule

  1. On the notification rules page, click {{< caps >}}{{< icon "plus" >}} Create{{< /caps >}}.
  2. Complete the About section:
  3. In the Name field, enter a name for the notification rule.
  4. In the Schedule Every field, enter how frequently the rule should run.
  5. In the Offset field, enter an offset time. For example,if a task runs on the hour, a 10m offset delays the task to 10 minutes after the hour. Time ranges defined in the task are relative to the specified execution time.
  6. In the Conditions section, build a condition using a combination of status and tag keys.
    • Next to When status is equal to, select a status from the drop-down field.
    • Next to AND When, enter one or more tag key-value pairs to filter by.
  7. In the Message section, select an endpoint to notify.
  8. Click {{< caps >}}Create Notification Rule{{< /caps >}}.

Clone an existing notification rule

On the notification rules page, click the {{< icon "gear" >}} icon and select Clone. The cloned rule appears.