Monitoring guide

Server Metrics Reference

The measurements that matter most on Linux and Windows servers, what each one tells you, and sensible starting points for warning and critical thresholds.

Using this reference

The thresholds below are starting points, not rules. Every server has its own normal behaviour. A database server running at 85% memory may be perfectly healthy because the database caches data deliberately, while a web server at the same level could be leaking memory. Collect data for a few weeks, learn what normal looks like, then adjust.

Always add a duration. Alert on a value that stays above a threshold for a period, for example five minutes, rather than on a single reading. Short spikes are normal and alerting on them creates noise.

Severity labels used on this page: Warning means look at it soon. Critical means act now.

CPU

The processor executes every instruction on the server. High usage is not always bad, but sustained saturation slows everything down.

MetricWhat it tells youWarningCritical
CPU utilisationPercentage of time the processor is busy, overall and per core. Split into user, system, I/O wait and idle time.80% for 10 min95% for 5 min
Load averageLinux. Average number of processes running or waiting, over 1, 5 and 15 minutes. Compare it to the number of cores.Above core countTwice core count
I/O waitTime the CPU sits idle waiting for disk or network storage. High values point to a storage bottleneck, not a CPU one.20%40%
Steal timeVirtual machines only. Time the hypervisor gave your CPU to another guest. Persistent steal means an oversubscribed host.5%15%
Run queue lengthProcesses ready to run but waiting for a CPU. A direct measure of saturation.2 per core4 per core
Context switchesHow often the CPU swaps between tasks. Useful when compared against a baseline; sudden jumps indicate contention.Baseline dependent

Memory

Running out of memory causes swapping, which is dramatically slower, and eventually processes being killed or crashing.

MetricWhat it tells youWarningCritical
Available memoryMemory that can be used by new work without swapping. On Linux use "available" rather than "free", because the kernel uses spare memory for cache.Below 15%Below 5%
Memory utilisationPercentage of physical memory in use by applications.85%95%
Swap usageAmount of swap or page file in use. A little is fine; steady growth is a warning sign.25%50%
Swap activityPages swapped in and out per second. Constant activity means the server needs more memory.Any sustained activity
Major page faultsMemory reads that had to go to disk. Rising rates mean memory pressure.Baseline dependent
OOM killer eventsLinux. The kernel killed a process to free memory. Always worth an alert.n/aAny event

A slow, steady climb in memory use that never falls back is the classic signature of a memory leak. Trend graphs over days make this obvious.

Disk and storage

Full disks are one of the most common and most avoidable causes of outages. Databases stop writing, logs stop recording and services fail to start.

MetricWhat it tells youWarningCritical
Disk space usedPercentage of each volume or mount point that is full. On very large volumes, alert on free gigabytes instead.80%90%
Time until fullA forecast based on recent growth. Often more useful than a fixed percentage.Within 7 daysWithin 24 hours
Inode usageLinux. Number of files a file system can hold. Millions of small files can exhaust inodes while space remains.80%90%
Disk latencyAverage time per read or write (await on Linux, Avg. Disk sec/Transfer on Windows).20 ms50 ms
IOPS and throughputRead and write operations per second and megabytes per second. Compare against what the storage is rated for.Near rated limit
Queue depthRequests waiting for the disk. Sustained queues mean the disk cannot keep up.Baseline dependent
Disk utilisationPercentage of time the device is busy. Less meaningful on SSD and SAN storage that handles parallel requests.80%95%
Read only file systemLinux remounts a file system read only when it detects errors. Always critical.n/aAny event

Network

MetricWhat it tells youWarningCritical
Bandwidth in and outTraffic on each interface, in bits per second, compared with link speed.70% of link90% of link
Packet lossPercentage of packets that never arrive. Even small amounts hurt application performance.1%5%
LatencyRound trip time to important destinations. Watch for changes rather than absolute values.Baseline dependent
Interface errors and dropsCorrupted or discarded packets. Often a sign of a bad cable, duplex mismatch or overloaded buffer.Any sustained increaseRapid increase
TCP connectionsEstablished, TIME_WAIT and CLOSE_WAIT counts. Large numbers of CLOSE_WAIT usually mean an application bug.Baseline dependent
TCP retransmitsSegments that had to be resent. High rates indicate congestion or loss somewhere on the path.Baseline dependent
DNS resolution timeHow long the server takes to resolve names. Slow DNS makes everything seem slow.200 ms1 s or failure

Operating system

MetricWhat it tells youWarningCritical
Uptime and rebootsTime since last boot. An unexpected reboot is worth investigating.Unplanned rebootRepeated reboots
Agent heartbeatWhether the server is still reporting. Missing data is itself an alert.2 missed intervals5 missed intervals
Process countTotal running processes. A sudden surge may indicate a runaway job or fork bomb.Baseline dependent
Zombie processesLinux. Finished processes not cleaned up by their parent. A growing count points to a faulty application.520
Open file descriptorsFiles and sockets open, compared with the system and per process limits.80% of limit95% of limit
Clock driftDifference from a trusted NTP source. Drift breaks authentication (Kerberos allows five minutes), logs and certificates.1 s60 s
Pending updatesSecurity and other updates waiting to install, and whether a reboot is required.Security updates over 14 days oldCritical updates over 30 days old

Services and availability

MetricWhat it tells youWarningCritical
Service or process stateWhether key services (systemd units, Windows services) and processes are running.RestartedStopped
Service restartsHow often a service restarts. Frequent restarts hide crashes.3 per hour10 per hour
Port availabilityWhether a TCP port accepts connections, for example 443, 22, 3389 or 5432.Slow to connectRefused
HTTP statusResponse code from a URL. Anything other than the expected 2xx or 3xx is a problem.4xx5xx or no response
HTTP response timeTime to first byte and total load time from external locations.1 s3 s
Content checkWhether the page contains an expected word. Catches error pages served with a 200 code.n/aMissing
SSL/TLS certificate expiryDays until a certificate expires, plus chain and hostname validity.21 days7 days
Domain expiryDays until domain registration lapses.30 days7 days

Windows specific metrics

Windows Server exposes its own performance counters. These are the most useful.

CounterWhat it tells youTypical concern
Processor Queue LengthThreads waiting for a processor.Above 2 per core for a sustained period
Memory\Available MBytesPhysical memory free for use.Below 10% of installed memory
Memory\Pages/secPages read from or written to disk to resolve faults.Sustained high values compared with baseline
Paging File % UsageHow much of the page file is in use.Above 70%
Avg. Disk sec/Read and /WriteDisk latency per operation.Above 0.020 (20 ms)
Event Log errorsError and critical entries in the System and Application logs.Unexpected service failures, disk and NTFS errors
Windows Update statusMissing updates and pending reboots.Security updates outstanding

Hardware

For physical servers, hardware data usually comes from the baseboard management controller through IPMI or Redfish.

  • Temperatures: CPU, inlet and system board temperatures. Rising inlet temperature can mean a cooling problem in the room.
  • Fans: speed and failure status.
  • Power supplies: redundancy lost when one unit fails or loses its feed.
  • RAID controller: degraded arrays, failed or predicted failure disks and rebuild progress.
  • SMART data: reallocated sectors, pending sectors and wear level on SSDs, which often predict disk failure.
  • Memory errors: corrected ECC errors are an early warning; uncorrected ones are critical.

Security signals

Monitoring is not a replacement for dedicated security tools, but it catches a lot.

  • Failed logins: spikes in failed SSH or RDP authentication attempts.
  • Privileged changes: new users, additions to the sudo, wheel or Administrators groups.
  • New listening ports: a service listening that was not there yesterday.
  • Unexpected processes: unknown binaries, or crypto mining software indicated by sustained 100% CPU.
  • File integrity: changes to system binaries and important configuration such as sshd_config.
  • Outbound traffic: unusual destinations or volumes that may indicate data being taken.
  • Security tooling health: antivirus or EDR agents stopped or out of date.

Common application metrics

ApplicationKey metrics
Web servers (nginx, Apache, IIS)Requests per second, active connections, 4xx and 5xx error rates, response time, worker saturation
Databases (PostgreSQL, MySQL, SQL Server)Connections against the limit, query latency, slow queries, locks and deadlocks, replication lag, cache hit ratio, transaction log size
Caches (Redis, Memcached)Memory use, hit ratio, evictions, connected clients
Message queues (RabbitMQ, Kafka)Queue depth, consumer lag, publish and consume rates
Active DirectoryReplication health, LDAP response time, DNS health, authentication failures
Containers (Docker)CPU and memory per container against limits, restart count, health check status
BackupsLast successful backup time, job duration and size. A backup that silently stops is a disaster waiting to happen.

Next: turn these metrics into useful notifications with the alerting and incident guide.

Start monitoring your servers in under five minutes

Free for up to three servers. No card required. Cancel or upgrade whenever you like.