How to Create, Edit, and Delete Resource Alerts
Validated on 3 Jul 2025 • Last edited on 14 Jul 2025
DigitalOcean Monitoring is a free, opt-in service that lets you track Droplet resource usage in real time, visualize performance metrics, and receive alerts via email or Slack to proactively manage your infrastructure’s health.
Resource alerts help you monitor your Droplets by sending notifications when key metrics like CPU usage, memory, and bandwidth exceed or fall below thresholds you define. Alerts are delivered through Slack, email, or both so you can respond as needed.
When an alert triggers, it appears in the DigitalOcean Control Panel with the alert name, affected Droplet(s), and links to their pages. You receive a notification with usage details and alert parameters, followed by another notification when the issue resolves. This helps you respond to issues immediately and confirm when the system returns to normal.
These alerts use data from the DigitalOcean metrics agent, a lightweight open source service that runs on Droplets of your choosing. To use resource alerts, you must install the metrics agent on the Droplets or tags you want to monitor. Kubernetes worker nodes include the metrics agent by default.
Create a Resource Alert Using the Control Panel
You can create a resource alert in the DigitalOcean Control Panel to monitor your Droplets and receive notifications when they exceed a defined usage threshold.
To create a resource alert, go to the DigitalOcean Monitoring Resource Alerts page, then on the Resource Agents page, click Create Resource Agent to open the Create Resource Alert page.
Select the Metric
In the Select Metric & Set Threshold section, choose the Metric Type you want to monitor.
Here are the available metrics you can monitor and what each one measures:
Metric | Definition |
---|---|
1 Minute Load Average | Average number of processes running or waiting in the past 1 minute |
5 Minute Load Average | Average number of processes running or waiting in the past 5 minutes |
15 Minute Load Average | Average number of processes running or waiting in the past 15 minutes |
Memory Utilization Percent | Total memory in use on the Droplet |
Disk Utilization Percent | Root disk storage in use on the Droplet |
CPU Utilization Percent | Total CPU capacity in use on the Droplet |
Disk Read I/O (Mbps) | Read activity on the Droplet’s disk |
Disk Write I/O (Mbps) | Write activity on the Droplet’s disk |
Public Inbound Bandwidth (Mbps) | Incoming public network traffic to the Droplet |
Public Outbound Bandwidth (Mbps) | Outgoing public network traffic from the Droplet |
Private Inbound Bandwidth (Mbps) | Incoming private network traffic to the Droplet |
Private Outbound Bandwidth (Mbps) | Outgoing private network traffic from the Droplet |
For more details about each metric, see the metrics concepts page.
Set the Rule
A rule defines the condition that determines when an alert should trigger. It triggers when the selected metric is above or below the threshold for the alert to trigger. The rule works together with the threshold and duration settings to define when and how the alert is triggered.
Set the Rule by clicking the dropdown menu, then choosing either is above or is below based on what you want to detect. Use is above when high usage signals a problem, such as CPU or memory exceeding safe limits. Use is below when low values may indicate an issue, like a sudden drop in bandwidth or stalled disk activity.
Set the Threshold
A threshold is the value that a metric must exceed or fall below to trigger an alert. It defines the point at which the system considers the usage abnormal or potentially problematic.
We recommend reviewing historical metrics in your Droplet’s Graphs tab to understand typical usage patterns. This helps you set thresholds that reflect sustained performance issues and avoid false alerts from short spikes or idle periods. Additionally, avoid setting thresholds too close to normal peak or idle values to reduce noise and prevent unnecessary alerts.
Use different thresholds for different Droplets based on their roles. For example, a database server may need a lower CPU threshold than a cache server.
To set the threshold, in the Threshold sub-section, type the value that triggers the alert. Thresholds are either percentages (for metrics like CPU, memory, or disk usage) or usage rates (for metrics like bandwidth or disk I/O).
We recommend the following starting points when setting thresholds:
- CPU, memory, or disk usage, set the threshold to 70 percent. Usage above this level can lead to degraded performance.
- Load averages, use a value near or slightly above your Droplet’s vCPU count. You can find the vCPU count by viewing the Resources section on the Droplet’s page.
- Bandwidth and disk I/O, base the threshold on the Droplet’s typical activity. You can review this data in your Droplet’s Graphs tab.
You can adjust thresholds over time based on how often alerts trigger and whether they correspond to real performance concerns.
Set the Duration
The duration is how long the metric must remain above or below the threshold before the alert triggers. You can set the duration to:
- 5 minutes
- 10 minutes
- 30 minutes
- 1 hour
This helps ensure alerts are triggered by sustained conditions rather than brief spikes or dips.
- Shorter durations are best for critical services where delayed response could cause downtime or data loss. They provide faster alerts but may increase false positives from momentary spikes.
- Longer durations help reduce noise from short-term fluctuations or bursty workloads. They improve reliability but may delay notification. For systems with variable usage, consider pairing a more aggressive threshold with a longer duration.
Review and adjust the duration over time based on how often the alert triggers and whether it reflects actual performance issues.
Assign Droplets or Tags
In the Select Droplets or Tags section, choose how you want to assign the alert. You can apply the alert to a specific Droplet, a tag, or All Droplets. Only Droplets with the DigitalOcean metrics agent installed are available for selection. If the agent is not installed for one of or any of the Droplets you want to track, install the metrics agent before continuing.
There are two ways to assign alerts:
- By Droplet, select individual Droplets to monitor specific resources, or
- By tag, apply the alert to all Droplets with a shared tag. This is useful for managing alerts across groups of similar Droplets.
For Kubernetes worker nodes, we recommend assigning alerts by tag rather than by Droplet name. Worker nodes may be recycled and do not retain consistent names, which can cause alerts tied to specific names to stop working. Tags like the cluster name remain consistent through recycling and help ensure alerts continue to apply.
Select Alert Notification Method
To receive notifications when your alert triggers, go to the Select alert notification method section and either choose email, Slack, or both. These methods work independently, so you can configure both and send alerts to multiple destinations. You must select at least one notification method, and you can update your preferences at any time.
If you choose email notifications, click the email checkbox, then under the Add one or more email addresses… field, type the email(s) you want to send the notifications to. The default recipient is the email address associated with your DigitalOcean account, but you can add other team members as long as their email addresses are verified and belong to the same team.
If you choose Slack notifications, click the Slack checkbox, then click Connect Slack. This opens Slack’s DigitalOcean is requesting permission to access the DigitalOcean Slack workspace authorization window.
In this authorization window, under the What will DigitalOcean be able to view? section, review the permissions to see what access you’re granting. Then, under the Where should DigitalOcean post? section, use the dropdown to select a public or private channel, a direct message to an individual (such as yourself), or a Slackbot. After you choose where to send alerts, click Allow to complete the authorization.
This action authorizes DigitalOcean to send alert notifications to your selected Slack workspace and channel or direct message. You return to the alert creation page after completing authorization.
After setup, under the Slack checkbox, select the authorized Slack channel or direct message to start receiving alert notifications.
You can connect multiple Slack destinations and manage them at any time. To add more, click Add additional Slack connections under the Slack checkbox. This reopens the authorization window so you can repeat the process and add another channel or direct message.
To unlink a Slack channel or direct message, under the Slack checkbox, next to the Slack entry you want to remove, click Unlink. This immediately removes it from your notification options.
Finalize
In the Finalize section, name your resource alert or use the auto-generated one. The name doesn’t need to be unique, but a specific name helps you identify it later.
Then, click Create Resource Alert to activate it. The alert appears under the Resource Alerts section on the Monitoring page and begins monitoring after a brief activation period.
The alert continuously averages recent data points over the time window you set. This helps filter out short spikes or dips. If the average exceeds the threshold, the alert triggers. It resolves automatically once usage returns to normal.
Create a Resource Alert Using the API
To create a resource alert using the API, send a request to the Create Alert Policy endpoint with the required metric, comparison, threshold, and action.
Once created, the alert policy monitors the specified Droplet or resource and triggers notifications when thresholds are met. You can retrieve a list of your alert policies using the List Alert Policies endpoint, and details of your new alert policy using the Get Alert Policy endpoint.
Edit a Resource Alert Using the Control Panel
You can edit an existing resource alert at any time to adjust thresholds, change notification settings, or update which Droplets it applies to. This is useful if your workload changes, your resource usage patterns shift, or you want to fine-tune alerts to reduce false positives or catch issues earlier.
To edit a resource alert, go to the DigitalOcean Monitoring Resource Alerts page, then on the Resource Agents page, find the resource alert you want to edit, on the right of it, click …, then click Edit.
You can edit any of the attributes you used to create your resource alert, including the monitored metric, threshold, rule, duration, assigned Droplets or tags, and notification methods.
Edit a Resource Alert Using the API
To edit a resource alert using the API, send a request to the Update Alert Policy endpoint with the alert policy ID and the updated configuration.
You can find the alert policy ID using the List Alert Policies endpoint.
After editing, the updated policy immediately takes effect for all monitored resources.
Delete a Resource Alert Using the Control Panel
You can delete a resource alert at any time if it’s no longer needed. Deleting an alert stops all notifications and removes it from your DigitalOcean Monitoring Resource Alerts page. This action is permanent and cannot be undone.
To delete a resource alert, go to the DigitalOcean Monitoring Resource Alerts page, then on the Resource Agents page, find the alert you want to delete, then on the right of that alert, click …, then click Delete to open the Destory Resource Alert window.
In the Destroy Resource Alert window, type the name of the resource alert you want to delete, then click Destroy to confirm deletion.
Delete a Resource Alert Using the API
To delete a resource alert using the API, send a request to the Delete Alert Policy endpoint with the alert policy ID.
You can retrieve the alert policy ID using the List Alert Policies endpoint.
Deleting the alert policy stops any future notifications for the associated resource.