Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
An auto-discovering network monitoring system built on PHP, MySQL and SNMP, supporting a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry and HP. It includes alerting rules and transports and an API. The Docker setup runs the web app next to MariaDB and Redis, with a separate dispatcher container that does the polling.
Runs on a VPS from $12/mo (Kamatera 4GB, 4 GB RAM) · prices checked Nov 2026
Fits home hardware (271 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# LibreNMS — based on the Compose example in librenms/docker, pinned to 26.11.0, with MariaDB, Redis and the dispatcher that runs the polling
# Changed from upstream: pinned tags, a generated database password, named volumes, and the optional mail relay, syslog and SNMP trap containers left out, and the web port published on 127.0.0.1 (the first visitor can create the admin)
mkdir librenms && cd librenms
echo "DB_PASSWORD=$(openssl rand -hex 16)" > .env
cat > docker-compose.yml <<'EOF'
x-app: &app
image: librenms/librenms:26.11.0
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- data:/data
restart: unless-stopped
x-env: &env
TZ: Etc/UTC
PUID: 1000
PGID: 1000
DB_HOST: db
DB_NAME: librenms
DB_USER: librenms
DB_PASSWORD: ${DB_PASSWORD}
DB_TIMEOUT: 60
CACHE_DRIVER: redis
SESSION_DRIVER: redis
REDIS_HOST: redis
services:
db:
image: mariadb:12.3
command:
- mariadbd
- --innodb-file-per-table=1
- --lower-case-table-names=0
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: librenms
MYSQL_USER: librenms
MYSQL_PASSWORD: ${DB_PASSWORD}
volumes:
- db:/var/lib/mysql
restart: unless-stopped
redis:
image: redis:7.2-alpine
restart: unless-stopped
librenms:
<<: *app
hostname: librenms
environment: *env
ports:
- "127.0.0.1:8000:8000"
depends_on:
- db
- redis
dispatcher:
<<: *app
hostname: librenms-dispatcher
environment:
<<: *env
DISPATCHER_NODE_ID: dispatcher1
SIDECAR_DISPATCHER: 1
depends_on:
- librenms
- redis
volumes:
data:
db:
EOF
docker compose up -d
timeout 600 bash -c 'until curl -fsSL -o /dev/null http://localhost:8000/; do sleep 5; done'
# → on your own machine: ssh -L 8000:127.0.0.1:8000 user@SERVER_IP, open http://localhost:8000, create the admin user, click Finish Install, then log in and add your first device. Create the admin before putting it behind HTTPSLibreNMS used 271 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.10.1 (first boot, measured Nov 2026). We list a minimum of 2048 MB.
The LibreNMS install snippet is marked verified on Ubuntu 26.04 (Nov 2026).