---
type: Device Guide
title: "SNMP Monitoring for Linux Servers: Setup & Key OIDs"
description: "Monitor Linux servers with SNMP — net-snmp, the HOST-RESOURCES and UCD OIDs for CPU, RAM, disk, swap, load and processes, plus secure config and a test."
resource: "https://snmp-monitoring.info/devices/linux/"
tags: [devices]
timestamp: 2026-07-11T00:00:00Z
---

# SNMP Monitoring for Linux Servers: Setup & Key OIDs

Monitor Linux servers with SNMP — net-snmp, the HOST-RESOURCES and UCD OIDs for CPU, RAM, disk, swap, load and processes, plus secure config and a test.

## Related concepts

- Up: [SNMP by Device Type: Servers, Network Gear, UPS & More](/devices/index.md)

## Frequently asked questions

### How do I monitor a Linux server with SNMP?

Install net-snmp's snmpd, secure snmpd.conf with a random read-only community or an SNMPv3 user scoped to your manager, and restart it. Then poll the standard OIDs — HOST-RESOURCES for CPU, storage, and processes, and UCD's laLoad for load averages. Test with snmpwalk -v2c -c <community> <host> hrStorageTable and set thresholds on disk and load.

### Which MIB provides Linux server metrics?

Two: HOST-RESOURCES-MIB (1.3.6.1.2.1.25) for CPU, storage (disk/RAM/swap), processes, and uptime, and UCD-SNMP-MIB (1.3.6.1.4.1.2021) for net-snmp extensions like the laLoad load averages. HOST-RESOURCES is the portable standard; UCD adds Linux-native objects. Both come with a stock net-snmp install, so no extra MIBs are needed.

### What OID is disk usage on Linux?

Disk (and RAM/swap) come from the hrStorage table under 1.3.6.1.2.1.25.2.3.1 — hrStorageSize (.5), hrStorageUsed (.6), and hrStorageAllocationUnits (.3). Multiply size/used by the allocation units for bytes, and compute usage percent as used ÷ size × 100. Each filesystem and memory area is a separate indexed row in the table.

### How do I install the SNMP agent on Linux?

Install net-snmp from your distro's repositories — apt install snmpd on Ubuntu/Debian, or the net-snmp package via dnf on RHEL-family systems — then configure /etc/snmp/snmpd.conf and enable the service with systemd. The full step-by-step is on the Ubuntu/Debian and CentOS/RHEL setup guides.

## Source

Concept generated from https://snmp-monitoring.info/devices/linux/ — the SNMP Monitoring vendor-neutral knowledge base. Content is limited to what that page states (no external claims added here).
