How to Set Up Server Alerts in SharkCluster: CPU, RAM and Disk Threshold Monitoring
Back to the blog
How-To / Monitoring

How to Set Up Server Alerts in SharkCluster: CPU, RAM and Disk Threshold Monitoring

SharkClusterSharkCluster TeamNovember 6, 20264 min read

Most server problems give a warning before they become outages. The disk fills up over a few days, memory creeps up after a deploy, a background service quietly crashes. If nobody is watching, the first sign is a slow or broken site and an unhappy customer.

SharkCluster watches these numbers for you. Every server reports its CPU, RAM, disk and service health once a minute, and with health alerts turned on you get an email and a dashboard notification as soon as any of them crosses a limit you choose. This guide shows how to set it up and how to read the alerts.

How to Set Up Server Alerts in SharkCluster: CPU, RAM and Disk Threshold Monitoring

What SharkCluster monitors

MetricWhat it measuresDefault limitRecommended
CPU usageCurrent CPU load as a percentage90%80–90%
RAM usageUsed memory as a share of total memory90%80–90%
Disk usageUsed disk space as a share of total disk90%85–95%
Failed servicesNumber of system services in a failed state1Alert on any failure

The monitoring agent is installed on every SharkCluster server automatically, so there is nothing to set up on the server itself.

Turning on health alerts

  1. Open your server and go to Monitoring in the server sidebar.
  2. Click the Health alerts button at the top of the page. The small badge next to it shows whether alerts are currently On or Off.
  3. In the Configure Health Alert Thresholds panel, switch on Enable health alerts.
  4. Set a limit for CPU usage, RAM usage and Disk usage (in percent), and for Failed services (a count).
  5. Click Save.

That's it. From the next minute, SharkCluster compares the server's latest metrics against your limits. To pause alerts, open the same panel and switch the toggle off. Your limits are kept for when you turn it back on.

Choosing sensible limits

The right limit is one that gives you time to act without waking you for normal spikes.

  • Disk: set this fairly high, around 85–95%. Disk usage moves slowly, and a full disk can stop databases and break deployments, so this is the alert you least want to miss.
  • RAM: 80–90% works for most servers. Many applications and databases deliberately use spare memory for caching, so a server sitting at 70% is usually healthy.
  • CPU: 80–90% suits most workloads. If you run scheduled jobs that briefly max out the CPU, set the limit a little higher so those runs don't trigger alerts.
  • Failed services: keep this at 1. A failed service such as a crashed web server or database is almost always worth knowing about straight away.

What happens when a limit is crossed

When a metric reaches or goes above its limit, SharkCluster:

  • sends you an email for that metric, with the current value, your limit and context such as used and total GB for RAM and disk, or the 1-minute load average for CPU;
  • adds a notification to the bell icon in your dashboard header;
  • records the alert in the server's alert history.

Each alert gets a severity:

SeverityWhen it is used
WarningThe value is at or above your limit.
CriticalThe value is at least 25% above your limit. For example, with a 70% RAM limit, 87.5% or more is Critical.

No alert storms

A server that stays above a limit would quickly flood your inbox if it was reported every minute. SharkCluster avoids that:

  • An ongoing breach is reported once, not every minute.
  • If the breach is still active on the next calendar day, you get one fresh reminder for that day.
  • When the metric drops back under the limit, the breach is cleared. If it crosses the limit again later, it counts as a new breach and you are alerted straight away.
  • Each metric is tracked separately, so a disk alert does not hide a new CPU alert on the same server.

Reviewing past alerts

On the Monitoring page, scroll to the Activity card and open the Alerts tab. Each row shows the metric, the value it reached, the threshold it crossed, the severity and the time. This is useful for spotting patterns, such as RAM climbing every night when a backup or report job runs.

What to do when you get an alert

AlertFirst things to check
Disk usageOld backups, log files, cached files and unused Docker images. Upgrading the server plan or adding storage under Resources is the long-term fix.
RAM usageRecent deploys, memory-hungry processes, or a database cache that is set too large for the server. Restart the service if needed, or move to a larger plan.
CPU usageTraffic spikes, heavy cron jobs, or a runaway process. Check the Monitoring graphs to see whether it is a short spike or sustained load.
Failed servicesOpen Packages to see which service stopped and check its logs, then restart it.

The best time to fix a full disk is two days before it fills up.

Wrapping up

Health alerts take a minute to turn on and can save you hours of firefighting. Turn them on for every production server, start with the recommended limits, and adjust them once you know what normal looks like for each server.

Already set up alerts? Next, make sure you can recover quickly when something does go wrong: read how to clone an application or server in SharkCluster.

Share this article
Share

Run this on your own VPS

Deploy servers and applications on infrastructure you own, managed from one panel — backups, caching, firewall and monitoring included.

Start your journey today

How do you start
with SharkCluster?

To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.

No lock-in contracts
No credit card required
Dedicated DevOps manager