Linux

Linux server monitoring for every host in your fleet

by Obseria · Containers and platforms
  • OpenTelemetry
  • Infrastructure Observability
  • Containers and platforms
Category
Containers and platforms
Key metrics
10
Ready-made
5 dashboards & alerts
Setup
3 steps
Standard
OTLP

Run the Obseria Agent or an OpenTelemetry Collector with the hostmetrics receiver and Obseria shows CPU, memory, load, disks, network and the top processes of every Linux server, linked to the services running on it.

Open standard, no lock-in

The hostmetrics receiver of the OpenTelemetry Collector reads /proc and /sys and reports metrics with standard semantic convention names.

Hosts next to services

Every host carries host.name and OS attributes, so Obseria connects a busy server with the services, containers and traces it hosts.

From alert to cause

Obseria Intelligence correlates a saturated disk or a memory-hungry process with the latency it causes upstream and shows the chain of evidence.

Obseria interface

Obseria apps and capabilities: observability, APM, infrastructure and integrations
Obseria home dashboard with service health, open problems, SLO compliance and ingestion
Obseria trace explorer with span list and span attributes

Ready the moment data arrives

  • Linux host overview: CPU, memory, load, disk, network
  • Top processes by CPU and memory per host
  • Alert on filesystem usage above threshold
  • Alert on sustained load above CPU count
  • Fleet view: hosts sorted by saturation

What Obseria monitors on Linux

CPU and load

CPU time and utilization per state and core, plus 1, 5 and 15 minute load averages.

Memory and paging

Used, cached, buffered and free memory, swap usage and paging operations.

Disks and filesystems

Read and write throughput, operation time and pending I/O per device, usage per mount point.

Network

Bytes, packets, errors and dropped packets per interface, and TCP connection states.

Processes

Process counts by state and per-process CPU and memory, to find the process behind a spike.

System logs

journald and files under /var/log via the journald and filelog receivers, correlated with host metrics.

The Linux signals that matter

Obseria collects these values automatically and shows them in ready-made dashboards and alerts.

MetricUnitWhat it tells you
system.cpu.utilization1Share of CPU time per state; sustained high user or iowait time explains slow services.
system.cpu.load_average.5m{thread}Five minute load average; compare it with the number of logical CPUs to judge saturation.
system.memory.usageByMemory in use per state (used, cached, buffered, free), the basis for capacity planning.
system.memory.utilization1Share of memory used per state, convenient for alert thresholds across host sizes.
system.paging.usageBySwap space in use; growing swap means the host is short of RAM.
system.filesystem.usageByUsed and free space per mount point, to act before a disk fills up.
system.disk.ioByBytes read from and written to each disk device.
system.disk.operation_timesTime spent on disk operations; rising values point to a saturated device.
system.network.ioByBytes received and sent per network interface.
system.network.errors{error}Transmit and receive errors per interface, an early sign of faulty links or drivers.

Set up Linux monitoring in minutes

  1. 1

    Install the agent

    Install the Obseria Agent on the host or run the OpenTelemetry Collector Contrib distribution as a systemd service or container.

  2. 2

    Enable hostmetrics

    Add the hostmetrics receiver with the cpu, memory, load, disk, filesystem, network, paging and process scrapers; set root_path to /hostfs in containers.

  3. 3

    Send to Obseria

    Point the otlphttp exporter at your Obseria OTLP endpoint with your token; hosts appear in the infrastructure view within minutes.

Example configuration · YAML
receivers:
  hostmetrics:
    collection_interval: 30s
    root_path: /hostfs          # only when the Collector runs in a container
    scrapers:
      cpu:
        metrics:
          system.cpu.utilization: { enabled: true }
      memory:
        metrics:
          system.memory.utilization: { enabled: true }
      load:
      disk:
      filesystem:
      network:
      paging:
      processes:
      process:
        mute_process_name_error: true
        mute_process_exe_error: true
        mute_process_io_error: true
        mute_process_user_error: true
  journald:
    units: [ssh, cron, systemd-journald]
processors:
  resourcedetection:
    detectors: [system]
exporters:
  otlphttp:
    endpoint: ${env:OBSERIA_OTLP_ENDPOINT}
    headers:
      Authorization: "Bearer ${env:OBSERIA_TOKEN}"
service:
  pipelines:
    metrics:
      receivers: [hostmetrics]
      processors: [resourcedetection]
      exporters: [otlphttp]
    logs:
      receivers: [journald]
      processors: [resourcedetection]
      exporters: [otlphttp]

Why Linux server monitoring matters

Most production workloads still run on Linux, whether on bare metal, virtual machines or as Kubernetes nodes. When an application slows down, the host is often part of the story: a filesystem that is almost full, a process that consumes all memory, a disk that cannot keep up with writes or a CPU that is busy waiting for I/O. Linux server monitoring makes these resources visible and connects them with the services that depend on them, so you can tell an application bug from a resource problem.

The OpenTelemetry Collector ships the hostmetrics receiver for exactly this purpose. It reads the kernel's interfaces in /proc and /sys and reports CPU, memory, load, disk, filesystem, network, paging and process metrics under standard names such as system.cpu.utilization. That gives you Linux performance monitoring based on an open standard instead of a proprietary agent format.

Signals that matter for Linux performance monitoring

A practical approach follows the USE method: utilization, saturation and errors for every resource.

  • CPU: system.cpu.utilization per state shows whether time goes to user code, the kernel or waiting for I/O. system.cpu.load_average.5m compared with the number of logical CPUs shows saturation.
  • Memory: system.memory.usage and system.memory.utilization separate memory that applications hold from page cache. Growing system.paging.usage means the host is swapping.
  • Disks and filesystems: system.filesystem.usage per mount point warns before a volume fills up; system.disk.io and system.disk.operation_time show throughput and how busy each device is.
  • Network: system.network.io and system.network.errors per interface reveal saturated links and faulty hardware.
  • Processes: the process scraper reports CPU and memory per process, so you see which process is behind a spike.

Common Linux server problems and how to detect them

Full disks

Log files, temporary data or database growth fill a volume until writes fail. A trend alert on filesystem usage per mount point gives you time to clean up or resize before services break.

Memory pressure and the OOM killer

When available memory runs out, the kernel starts swapping and finally kills processes. Rising swap usage, falling free memory and a process whose resident memory keeps growing usually appear hours before the kill.

I/O wait

A high share of CPU time in the iowait state with moderate user time means processes wait for storage. Disk operation time per device shows which volume is the bottleneck.

Noisy processes

A backup job, a runaway cron task or a forgotten debug process can take CPU from the service that matters. Per-process metrics make the culprit visible without logging into the server.

Best practices for Linux host monitoring

  1. Run the Collector on every host, or as a DaemonSet on Kubernetes nodes, with root_path pointing to the mounted host filesystem when it runs in a container.
  2. Use the resourcedetection processor so every metric carries host.name and OS attributes.
  3. Alert on saturation trends such as filesystem usage and load per CPU, not only on fixed values.
  4. Collect system logs from journald or /var/log next to the metrics, so a spike and its log lines are one click apart.
  5. Keep per-process metrics focused on relevant processes to control cardinality on busy hosts.

How Obseria helps with Linux monitoring

Obseria receives host metrics and logs over OTLP from the Obseria Agent or any OpenTelemetry Collector. TopoGraph places every Linux host next to the containers, services and databases it runs, and Obseria Intelligence uses this map to check whether a slowdown comes from code, a dependency or the host itself. Dashboards, alerts and SLOs are included, and your data can stay in the EU region.

Because the metrics follow OpenTelemetry semantic conventions, the same queries and dashboards work for every Linux host, whether it runs on bare metal, a virtual machine in AWS, Azure or Google Cloud, or as a Kubernetes node. You can start with the built-in host dashboards, add alerts on filesystem usage and load, and refine thresholds per environment once you know the normal behavior of your fleet.

Learn more

Linux monitoring FAQ

No. You can use the Obseria Agent or the standard OpenTelemetry Collector Contrib distribution with the hostmetrics receiver. Both send data to Obseria over OTLP.

The hostmetrics receiver reads standard kernel interfaces in /proc and /sys, so it works on common distributions such as Debian, Ubuntu, RHEL, Rocky Linux, SUSE and Amazon Linux.

Yes. Mount the host root filesystem into the container, for example at /hostfs, and set root_path: /hostfs. Without it the Collector reports its own container instead of the host.

Some hostmetrics metrics, including system.cpu.utilization and system.memory.utilization, are disabled by default. Enable them explicitly in the scraper configuration as shown above.

Yes. The journald receiver reads the systemd journal and the filelog receiver reads files such as /var/log/syslog. Logs and metrics share the same host attributes in Obseria.

Start monitoring Linux today

Connect Linux in minutes with OpenTelemetry or the Obseria Agent. Free for 14 days.