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

51 lines
1.7 KiB
Markdown

---
title: Update notification rules
description: >
Update notification rules to update the notification message or change the schedule or conditions.
weight: 203
menu:
influxdb_2_0:
parent: Manage notification rules
related:
- /influxdb/v2.0/monitor-alert/checks/
- /influxdb/v2.0/monitor-alert/notification-endpoints/
---
## Add a label to notification rules
1. In the navigation menu on the left, select **Alerts**.
{{< nav-icon "alerts" "v2" >}}
2. Select **Notification Rules** near to top of the page.
3. Click **{{< icon "add-label" "v2" >}} Add a label** next to the rule you want to add a label to.
The **Add Labels** box opens.
4. To add an existing label, select the label from the list.
5. To create and add a new label:
- In the search field, enter the name of the new label. The **Create Label** box opens.
- In the **Description** field, enter an optional description for the label.
- Select a color for the label.
- Click **Create Label**.
6. To remove a label, hover over the label under to a rule and click **{{< icon "x" "v2" >}}**.
## Disable notification rules
1. In the navigation menu on the left, select **Alerts**.
{{< nav-icon "alerts" "v2" >}}
2. Select **Notification Rules** near to top of the page.
3. Click the {{< icon "toggle" "v2" >}} toggle to disable the notification rule.
## Update the name or description for notification rules
1. In the navigation menu on the left, select **Alerts**.
{{< nav-icon "alerts" "v2" >}}
2. Select **Notification Rules** near to top of the page.
3. Hover over the name or description of a rule and click the pencil icon
(**{{< icon "edit" "v2" >}}**) to edit the field.
4. Click outside of the field to save your changes.