What is server monitoring?
Server monitoring is the practice of continuously observing servers to make sure they are available, performing well and free of faults. A monitoring system gathers measurements such as processor usage, memory consumption, disk space, network traffic and the state of important services. It stores those measurements over time, compares them against expected values and notifies people when something needs attention.
A server can be a physical machine in a data centre, a virtual machine on a hypervisor, a cloud instance or a host running containers. The principles of monitoring are the same for all of them. You want to answer three questions at any moment:
- Is it up? Can users and other systems reach the server and the services it provides?
- Is it healthy? Are resources such as CPU, memory and disk within safe limits?
- Is it about to have a problem? Do the trends suggest a failure, a capacity shortfall or a security issue on the way?
Why server monitoring matters
Servers run the applications, websites, databases and file shares that organisations depend on. When one fails or slows down, the effect is felt by customers, staff and revenue. Monitoring exists to reduce how often that happens and how long it lasts when it does.
Less downtime
Problems are detected in seconds rather than when a user complains. Many are fixed before they ever become an outage.
Better performance
Bottlenecks in CPU, memory, disk or network are visible, so you can tune or scale the right component.
Capacity planning
Months of historical data show growth trends, so hardware and cloud spend can be planned rather than rushed.
Security awareness
Unexpected processes, new open ports, spikes in failed logins and unusual traffic can all be early signs of compromise.
Compliance and evidence
Frameworks such as ISO 27001, SOC 2, PCI DSS and Cyber Essentials expect organisations to monitor their systems and keep records.
Calmer teams
Clear alerts and good data mean fewer emergencies, shorter investigations and less time spent guessing.
How server monitoring works
Every monitoring system, however simple or sophisticated, follows the same basic cycle.
- Collection. Data is gathered from each server at a regular interval, typically every 10 to 60 seconds. It may come from an installed agent, from a protocol such as SNMP or WMI, or from external checks.
- Transport. The data is sent to a central platform, ideally over an encrypted connection.
- Storage. Measurements are kept in a time series database. Recent data is held at full resolution, while older data is usually summarised (downsampled) to save space.
- Analysis. The platform evaluates the data against rules. A rule might say "warn if disk usage is above 80% for five minutes" or "alert if this value is far outside its normal range".
- Alerting. When a rule is broken, a notification is sent to the right person or team through email, SMS, chat or an on call tool.
- Visualisation and reporting. Dashboards show the current state at a glance and graphs show history. Reports summarise availability and performance over weeks and months.
Polling interval matters. A five minute interval can miss a short spike entirely and delays detection. Sixty seconds or less is a good default for production servers.
Agent based vs agentless monitoring
There are two main ways to collect data from a server. Most mature setups use a mixture of both.
Agent based monitoring installs a small piece of software on each server. The agent reads metrics directly from the operating system and sends them to the monitoring platform. Agentless monitoring collects data remotely using standard protocols that the server already supports, such as SNMP, WMI or SSH.
| Consideration | Agent based | Agentless |
|---|---|---|
| Depth of data | Very detailed, including per process data, logs and custom metrics | Limited to what the protocol exposes |
| Setup | Install software on each server, often automated | No software to install, but credentials and protocol access must be configured |
| Network requirements | Usually outbound only, which suits firewalls well | Monitoring server needs inbound access to each target |
| Resilience | Agent can buffer data if the network drops | Data is lost while the target is unreachable |
| Resource use | Small footprint on the server, typically under 1% CPU | No footprint on the server, more load on the poller |
| Best for | Servers you own and manage | Network devices, appliances and systems where software cannot be installed |
Active vs passive monitoring
Active monitoring, also called synthetic monitoring, sends test traffic to a service and measures the response. Pinging a server, requesting a web page or attempting a database login are all active checks. They tell you whether a service works from the user's point of view, even when nobody is using it.
Passive monitoring observes real activity as it happens. Reading resource counters, analysing logs and capturing network flows are passive methods. They show how the system behaves under genuine load and reveal problems that a simple test might not trigger.
The two approaches complement each other. Active checks tell you something is broken; passive data usually tells you why.
Protocols and data sources
Monitoring tools rely on a set of well established protocols and interfaces. Knowing what each one offers helps you choose the right method for each system.
| Source | What it is | Typical use |
|---|---|---|
| ICMP | The protocol behind ping | Basic reachability and round trip latency |
| SNMP | Simple Network Management Protocol. Use version 3, which adds authentication and encryption | Switches, routers, firewalls, printers, UPS units and many servers |
| WMI and WinRM | Windows Management Instrumentation, accessed remotely through Windows Remote Management | Agentless monitoring of Windows Server |
| Performance counters | Built in Windows measurements such as Processor Queue Length | Detailed Windows performance data |
| /proc and /sys | Linux virtual file systems exposing kernel statistics | The main source for Linux agents |
| SSH | Secure shell, used to run commands remotely | Agentless checks on Linux and Unix |
| IPMI and Redfish | Out of band hardware management interfaces such as iDRAC and iLO | Temperatures, fans, power supplies and hardware faults |
| Syslog and journald | Standard Linux logging systems | Log collection and pattern alerts |
| Windows Event Log | Application, System and Security logs on Windows | Service failures, crashes and security events |
| HTTP and HTTPS | Web requests and APIs | Website checks, health endpoints and certificate validation |
| NetFlow, sFlow, IPFIX | Summaries of network traffic flows | Bandwidth analysis and spotting unusual traffic |
Types of server monitoring
"Server monitoring" is an umbrella term. In practice it covers several overlapping disciplines.
Infrastructure and resource monitoring
The foundation. Tracks CPU, memory, disk, network and operating system health. See the metrics reference for detail on each measurement.
Availability and uptime monitoring
Confirms that servers and services respond. Checks run from outside your network, ideally from several geographic locations, so a problem with one route is not mistaken for an outage.
Performance monitoring
Looks beyond up or down to how fast things are. Response times, throughput and latency are measured and compared against a baseline so that gradual degradation is noticed.
Application and service monitoring
Watches the software running on the server: web servers such as nginx, Apache and IIS; databases such as PostgreSQL, MySQL and SQL Server; and services such as Active Directory, DNS and mail. Application Performance Monitoring (APM) goes further by tracing individual requests through the code.
Log monitoring
Collects logs centrally and alerts on specific messages, error rates or patterns. Logs often explain what metrics can only hint at.
Security monitoring
Looks for signs of compromise or misuse: repeated failed logins, new administrator accounts, unexpected listening ports, changes to important files and unusual outbound connections. It often feeds a Security Information and Event Management (SIEM) platform.
Hardware monitoring
For physical servers, tracks temperatures, fan speeds, power supply status, RAID array health and disk SMART data, usually through IPMI or the vendor's management controller.
Virtualisation, cloud and container monitoring
Hypervisors, cloud instances and containers add extra layers. CPU steal time, noisy neighbours, auto scaling events, container restarts and orchestration health all need attention alongside the guest operating system.
Configuration and change monitoring
Records changes to packages, services, users and configuration files. When something breaks, knowing what changed recently is often the fastest route to the cause.
Uptime, availability and SLAs
Availability is usually expressed as a percentage of time that a service is working. Service Level Agreements (SLAs) commit a provider to a minimum availability, and each extra "nine" dramatically reduces the downtime allowed.
| Availability | Common name | Downtime per year | Per month | Per week |
|---|---|---|---|---|
| 99% | Two nines | 3d 15h 39m 36s | 7h 18m 20s | 1h 40m 48s |
| 99.9% | Three nines | 8h 45m 58s | 43m 50s | 10m 5s |
| 99.95% | Three and a half nines | 4h 22m 59s | 21m 55s | 5m 2s |
| 99.99% | Four nines | 52m 36s | 4m 23s | 1m 0s |
| 99.999% | Five nines | 5m 16s | 26s | 6s |
Downtime calculator
Three related terms are worth knowing:
- SLA (Service Level Agreement): the formal commitment made to customers, often with financial penalties if it is missed.
- SLO (Service Level Objective): the internal target a team aims for, usually stricter than the SLA to leave a safety margin.
- SLI (Service Level Indicator): the actual measurement, such as the percentage of successful requests, used to judge the SLO.
Accurate availability reporting depends on monitoring. Without independent checks you cannot prove what you delivered.
Monitoring frameworks
With hundreds of possible metrics, it helps to have a method for deciding what to look at. Three frameworks are widely used.
USE method
For every resource (CPU, memory, disk, network), check Utilisation, Saturation and Errors. Created by performance engineer Brendan Gregg, it is ideal for servers and hardware.
RED method
For every service, measure Rate (requests per second), Errors (failed requests) and Duration (how long requests take). Best suited to web services and APIs.
Four golden signals
From Google's Site Reliability Engineering book: Latency, Traffic, Errors and Saturation. A good summary of what users actually feel.
A practical approach is to apply USE to your servers and RED to the services running on them.
Monitoring vs observability
The two words are often used together. Monitoring tells you when known things go wrong by watching predefined metrics and checks. Observability is the ability to understand unfamiliar problems by exploring the data a system produces. It is usually described as three pillars: metrics, logs and traces.
For most server estates, solid monitoring of metrics and logs delivers the greatest benefit. Distributed tracing becomes valuable as applications are split into many services. Open standards such as OpenTelemetry make it easier to add tracing later without changing tools.
Choosing a server monitoring solution
When comparing tools, these questions separate a good fit from a poor one:
- Coverage: does it support every operating system, cloud and application you run?
- Ease of setup: how long does it take to add a server, and can it be automated with tools such as Ansible, Terraform or Group Policy?
- Alerting quality: does it support duration conditions, dependencies, maintenance windows and escalation, or will it flood you with noise?
- Data retention: how long is history kept, and at what resolution?
- Security: is data encrypted in transit and at rest, does the agent need inbound ports, and where is data stored?
- Data residency: for UK and European organisations, where data is hosted affects UK GDPR obligations.
- Integrations: does it connect to your chat, ticketing and on call tools?
- Hosted or self hosted: a SaaS platform removes maintenance; self hosted tools give control but need looking after, and need monitoring themselves.
- Cost model: per server, per metric or per data volume pricing can lead to very different bills as you grow.
Getting started
If you are starting from nothing, this order gives the most value quickly:
- Make an inventory of servers and the services each one provides.
- Add external uptime checks for anything customer facing.
- Install agents and collect the core resource metrics.
- Monitor the critical services and processes on each server.
- Set a small number of meaningful alerts and route them to the right people.
- Let data build up for two to four weeks, then tune thresholds against the baseline.
- Add log monitoring, certificate checks and security signals.
- Review alerts and dashboards regularly and remove anything nobody uses.
Next: read the metrics reference to decide what to measure, then the alerting guide to decide when to be told.