Daily DigitalOcean infrastructure health digest in Slack

Every weekday morning, get one Slack summary of your DigitalOcean Droplets, databases, and app deploys that leads with anything unhealthy and ends with a quick all-clear.

Agentic Task
DigitalOceanSlack BotEngineeringOperationsDaily DigestsNotifications & AlertsAI Reports
PromptCreate

Every weekday at 8:00am, post a DigitalOcean infrastructure health digest to a Slack channel. The goal is one consolidated morning read across Droplets, managed databases, and App Platform, so the team does not have to piece together fragmented per-metric monitoring alerts.

Keep the run settings at the top so they are easy to change: the schedule (default every weekday at 8:00am), the target Slack channel (for example #infra-health), and the thresholds for what counts as running hot. Default thresholds: CPU averaging above 85% over the last hour, memory usage above 90%, and disk usage above 85% (less than 15% free). Treat all of these as configurable inputs.

First check the Droplets. Use List All Droplets to get every Droplet, then for each one use Retrieve Droplet Metrics to pull recent CPU, memory, and disk figures. Flag any Droplet that is over the CPU, memory, or disk threshold, and note which metric it is and the value.

Next check managed databases. Use List All Database Clusters and read each cluster's status. Flag any cluster that is not in a healthy, online state, for example one that is creating, migrating, resizing, or reporting a failed or degraded status.

Then check App Platform. Use List All Apps to get every app, and for each app use List App Deployments to find its most recent deployment. Use Retrieve an App Deployment when you need the detailed phase or progress for that latest deployment. Flag any app whose most recent deployment did not succeed, for example one in a failed, error, or canceled phase.

Finally, have the agent summarize overall health into a short morning digest and post it with the Slack Send a Message action to the configured channel. Lead with anything unhealthy first, grouped and specific: a Droplet running hot on CPU or low on disk, a database cluster not in a healthy state, or an app whose most recent deployment failed. Name the resource and the reason for each problem. After the problems, add a short green all-clear line that summarizes everything that looks fine, for example how many Droplets are within thresholds, how many clusters are online, and how many apps are on a healthy latest deployment. If nothing is unhealthy, lead with the all-clear line. Format the message with Slack mrkdwn so it is quick to scan, and keep it concise.

Example output

DigitalOcean Morning Health Digest for Thu Jul 17 Needs attention: - Droplet web-prod-2 CPU averaged 91% over the last hour (threshold 85%) - Droplet db-cache-1 disk is 88% full (threshold 85%) - Database cluster orders-pg is in a migrating state, not online - App marketing-site latest deployment FAILED at 6:42am All clear: - 6 of 8 Droplets within CPU, memory, and disk thresholds - 3 of 4 database clusters online - 5 of 6 apps on a healthy latest deployment

Additional information

What does this prompt do?
  • Checks every DigitalOcean Droplet each morning for high CPU, tight memory, and low disk space
  • Reviews your managed database clusters and flags any that are not in a healthy state
  • Looks at the most recent App Platform deployment for each app and calls out failures
  • Posts one Slack digest that leads with the problems and ends with a green all-clear for everything that looks fine
What do I need to use this?
  • A DigitalOcean account with access to your Droplets, managed databases, and apps
  • A Slack workspace and a channel where the morning digest should be posted
How can I customize it?
  • Change the time it runs or the days of the week
  • Point it at a different Slack channel
  • Adjust what counts as running hot for CPU, memory, and disk

Frequently asked questions

When does the digest arrive?
By default it posts every weekday at 8am, and you can change the time or have it run on weekends too.
What does it check?
It looks at your DigitalOcean Droplets, managed database clusters, and App Platform apps, covering CPU, memory, and disk on each Droplet, the status of each database cluster, and the latest deployment result for each app.
What happens if everything is healthy?
You still get a short message with a green all-clear line, so you know the check ran and nothing needs attention.
Can I change what counts as running hot?
Yes. The CPU, memory, and disk thresholds are easy to adjust, so you can make the alerts stricter or more relaxed to fit your setup.
Do I need to set up DigitalOcean Monitoring alerts first?
No. This reads your infrastructure directly and rolls everything into one morning message, instead of separate alerts firing per metric and per Droplet.

Start your day knowing your infrastructure is healthy.

Get one clear DigitalOcean health digest in Slack every morning, with the problems first and a quick all-clear when everything looks good.