← Guides

How to get alerted when a DigitalOcean droplet goes down or its CPU stays high

October 19, 2026 · 6 min read

A droplet that is powered off, or pinned at 100% CPU, usually isn't noticed until a customer says so. DigitalOcean has alerting built in, but it is split across a few features and none of it works until you set it up. Here is what each piece covers, how to turn it on, and where a desktop notification fills the gaps.

1. CPU, memory, disk and bandwidth: Monitoring alert policies

In the control panel open Monitoring → Create alert policy. Pick a metric (CPU, memory, disk, bandwidth and similar), a threshold, a time window, the droplets or tags it applies to, and where to send it: email or Slack. Droplet metrics come from the DigitalOcean metrics agent, which is installed by default on current images; on older droplets or custom images you may need to install it yourself.

The same policies can be created with the API or doctl, which is useful when you manage many droplets by tag:

doctl monitoring alert list
doctl monitoring alert create --type v1/insights/droplet/cpu   --compare GreaterThan --value 80 --window 10m   --tags production --emails ops@example.com   --description "CPU above 80% for 10 minutes"

Check doctl monitoring alert create --help for the exact flags in your version.

2. "Is it reachable?": Uptime checks

A CPU policy tells you a droplet is busy, not that it is gone. For that, create an Uptime check under Monitoring → Uptime: DigitalOcean requests a URL from several regions at an interval and alerts you by email or Slack if it fails, is slow, or if the SSL certificate is about to expire. It tests what the outside world sees, so it also catches a web server that has crashed on a droplet that is still running.

3. What those two don't tell you

  • An uptime check needs a public URL or endpoint. A worker, a database host or a droplet with no web service has nothing to check.
  • Alert emails land in a mailbox you may not be watching while you work, and are easy to miss among other mail.
  • Policies and checks are per-resource setup, so a droplet created last week may not have either.

4. Cover the gap with the droplet list

The simplest backstop is to look at the droplet list itself. It is the source of truth: if a droplet is off or archive, the API says so, whatever the droplet is or isn't serving. Polling it from a script and sending yourself a message works, and is a few lines of shell around doctl compute droplet list --format Name,Status. You then have to keep that script running somewhere, and remember what it already told you.

Doing it from the menu bar

Shoreline is a Mac menu-bar app that does that polling for you. It checks your DigitalOcean team every 60 seconds using a personal access token you create in your own account (stored in the macOS Keychain; requests go straight from your Mac to the DigitalOcean API). The icon shows how many droplets are running and turns red when one is off or archived.

With alerts turned on (part of Shoreline Pro) you get a macOS notification and a badge when:

  • a droplet turns off or is archived (on by default; it compares each check with the previous one, so you hear about the change once rather than on every refresh);
  • an App Platform deploy fails;
  • a running droplet's CPU stays at or above a threshold for a number of minutes you choose (off by default; the defaults are 80% for 10 minutes), using the same droplet metrics DigitalOcean records;
  • month-to-date spend passes a limit you set (off by default).

You can mute individual droplets, such as a scratch box you turn off every night, so they don't alert. Shoreline reads state through the API, so it also tells you a droplet is off when no uptime check was ever configured for it. It doesn't replace an uptime check for a crashed web server on a running droplet, and because it runs on your Mac it can only notify you while the Mac is on and Shoreline is running. Keep DigitalOcean's own policies for anything that needs to reach a team or a phone.

The droplet list, details, billing and read-only resources are free; alerts, charts and actions are part of a one-time Shoreline Pro purchase. The app has a built-in sample team, so you can see the alerts without connecting an account.

DigitalOcean is a trademark of DigitalOcean, LLC. Shoreline is an independent app and isn't affiliated with or endorsed by DigitalOcean. See also DigitalOcean's alert policy documentation.