What is server monitoring?
Server monitoring is the continuous collection of measurements from your machines and services, with alerts that call a person when something needs attention.
Why monitor a server at all?
To find problems while they are small and to know what normal looks like. A disk filling at 2 percent a day, a memory leak that forces swap every few weeks, a drive accumulating bad sectors: each gives days of warning to anyone watching and none to anyone who is not. History also answers questions later, such as whether last week's slowdown matched a traffic peak, and shows when a server is approaching the limit of its model.
Which metrics matter most?
A handful per resource, read together. The USE method is a good checklist: for each resource, look at utilisation, saturation (work waiting) and errors.
| Resource | Utilisation | Saturation | Errors |
|---|---|---|---|
| CPU | Busy percentage per core | Load average against core count, run queue | Machine check events |
| Memory | Used minus cache | Swap activity, pressure stall information | ECC corrected and uncorrected counts |
| Disk | Busy time, space used | Queue length, wait time | SMART errors, I/O errors in the kernel log |
| Network | Throughput against port speed | Dropped packets, retransmits | Interface errors |
Add service-level signals on top: request rate, error rate and latency for each application, plus database replication lag and queue lengths.
Why check from outside as well?
Because a server cannot report that it is unreachable. An external probe that loads a real page or opens a real port every minute, from at least two networks, catches network faults, expired certificates, DNS mistakes and full outages that internal agents miss. Run the probe on a different server, ideally in another data centre, or use an outside service. Our Allow monitoring probes guide shows how to let probes through the host firewall.
What does an open-source monitoring stack look like?
Commonly Prometheus for metrics, node_exporter on each host, Alertmanager for routing alerts, Grafana for dashboards and Blackbox exporter for external checks. Zabbix and Netdata are popular alternatives with more built in. A minimal Prometheus job and an alert rule:
# prometheus.yml
scrape_configs:
- job_name: hosts
static_configs:
- targets: ['10.73.0.1:9100', '10.73.0.2:9100', '10.73.0.3:9100']
# rules/disk.yml
groups:
- name: disk
rules:
- alert: RootFillsWithinFourDays
expr: predict_linear(node_filesystem_avail_bytes{mountpoint="/"}[12h], 4*86400) < 0
for: 30m
labels: { severity: page }
Scrape exporters over a WireGuard interface rather than the public address; we do not sell a private network, and exporters should never face the internet.
How should alerts be designed?
Page only for things that need a human now, and make each page actionable. Alert on symptoms users feel, such as errors and latency, and on clear predictions of failure, such as a disk that will be full within days. Send everything else to a ticket queue or a daily summary. Every alert should name the affected service, link to a dashboard and a runbook, and fire only after a sustained condition, so a single slow minute does not wake anyone. Review noisy alerts monthly and remove or fix them.
How is hardware health monitored?
Through SMART data for disks, kernel logs for memory and processor errors, and RAID status. Without IPMI, which is not offered on our servers, the operating system is the source of these readings, and they are usually enough to spot trouble early:
smartctl -H -A /dev/nvme0 | grep -Ei 'critical|percentage used|media and data|unsafe' cat /proc/mdstat journalctl -k -S -1d | grep -Ei 'mce|edac|i/o error|nvme.*timeout'
Export these with node_exporter's textfile collector or smartctl_exporter. When a disk reports failure, open a ticket with the output; technicians replace failed hardware. Our Diagnose hardware problems guide lists further checks.
Where should monitoring itself run?
Away from what it watches. A monitoring server inside the same machine dies with it; one in the same data centre may share a network fault. A small separate server in another city, such as ESSENTIAL-1 at $38.40 a month, can hold months of metrics for dozens of hosts and run external probes too. Send its own health to a second channel, so you notice if monitoring stops. Our Observability explained article adds logs and traces to the picture.
How long should metrics be kept?
Detailed data for a few weeks, summaries for a year or more. Fifteen-second resolution helps with recent incidents; hourly averages over a year show growth and seasonality for capacity planning. Prometheus with a remote store such as VictoriaMetrics or Thanos, or Zabbix trends, handles both. Metrics compress very well, so a year for a small fleet fits in a few tens of gigabytes.
Machines for a monitoring server
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-1 | Intel Xeon-E 2386G | 6 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $38.40 |
| ESSENTIAL-2 | Intel Xeon-E 2388G | 8 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $43.20 |
| ESSENTIAL-S | AMD Ryzen 7 9700X | 8 | 64 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $46.20 |
| STORAGE-1 | AMD Ryzen 7 Pro 3700 | 8 | 32 GB | 2x 480 GB SSD SATA + 4x 14 TB HDD SAS | 1 Gbps unmetered | $109.80 |
Related pages
Observability explained
Metrics, logs and traces working together so you can explain a problem you did not predict, with instrumentation tips, sampling and storage sizing.
Read moreAllow monitoring probes
Let your uptime checks and metrics collectors through the firewall without opening the server to everyone: ICMP, HTTP checks and exporter ports.
Read moreDiagnose hardware problems
Tell a hardware fault from a software one: memory errors, overheating, disk trouble and network faults, checked from the running system or rescue mode.
Read moreMonitoring servers
Host your own metrics, logs and alerting on a dedicated box: Prometheus retention maths, exporters, Grafana, log storage and watching from another site.
Read moreQuestions and answers
Which server metrics should I monitor first?
CPU, memory, disk space and disk wait, network throughput and errors, plus error rate and latency of each service users depend on.
Is IPMI available for hardware monitoring?
IPMI is not offered. Read hardware health from the operating system through SMART, RAID status and kernel logs, which catch most failures early.
Where should the monitoring server run?
On a separate machine, ideally in another data centre, so it keeps working and alerting when a monitored server or site fails.
How do I avoid alert fatigue?
Page only for user-facing symptoms and clear predicted failures, require conditions to persist before firing, and review and remove noisy alerts regularly.
Which open-source tools are common for server monitoring?
Prometheus with node_exporter, Alertmanager and Grafana, or integrated systems such as Zabbix and Netdata.