Contact

Construire une pile de surveillance ISP sur Proxmox

Accueil / Blog

8 min de lecture
ZILL E ALIavril 18, 2026Tutoriels

A dependable ISP monitoring stack Proxmox hosts should look the same at every POP you build.

Chaque POP reçoit la même configuration de surveillance, car le pire moment pour concevoir la surveillance est pendant une panne. Voici la pile, le dimensionnement et les alertes qui se déclenchent réellement.

The ISP Monitoring Stack Proxmox Hosts

Composant Rôle Dimensionnement du conteneur
LibreNMS Interrogation SNMP, inventaire des appareils, alertes 4 vCPU, 8 Go RAM, 100 Go
Grafana Tableaux de bord pour les écrans NOC et la gestion 2 vCPU, 2 Go RAM, 20 Go
SmokePing Lignes de base de latence et de perte de paquets 1 vCPU, 1 Go RAM, 20 Go
Uptime Kuma Vérifications de services publics et page d’état 1 vCPU, 1 Go RAM, 10 Go

All four run as unprivileged LXC containers on a single Proxmox VE node. At around 800 monitored devices the node sits near 6% CPU — the constraint is disk I/O from RRD writes, not compute. Put the LibreNMS container on SSD.

ISP monitoring stack Proxmox hosts: VE node running LibreNMS, Grafana, SmokePing and Uptime Kuma containers polling the network over SNMP v3

Ordre de construction qui évite les retouches

  1. Hôte Proxmox: stockage séparé pour les conteneurs et les sauvegardes, ZFS si vous avez suffisamment de RAM, et un VLAN de gestion accessible lorsque le réseau côté client ne l’est pas.
  2. LibreNMS d’abord,, avec SNMP v3 (auth + priv) — les chaînes communautaires v2c sur une périphérie publique sont une faille en attente de se produire.
  3. SmokePing pointant vers vos passerelles en amont, une ancre publique comme 1.1.1.1, et chaque routeur de tour.
  4. Grafana en dernier, en lisant depuis LibreNMS. Ne créez pas de tableaux de bord avant de savoir ce qui se casse.

SNMP sur RouterOS

\/snmp community\nadd name=nms-v3 authentication-protocol=SHA1 encryption-protocol=AES \\\n authentication-password= encryption-password= \\\n security=private addresses=10.60.0.0\/24\n\n\/snmp\nset enabled=yes contact=\"[email protected]\" location=\"POP-A\"

Restreindre adresses au sous-réseau de surveillance fait la différence entre une surveillance et une faille de divulgation d’informations.

SNMP polling mistakes that skew your graphs

Half the “LibreNMS is lying to me” complaints I get asked about trace back to one of these, not a LibreNMS bug:

  • Leaving ifHighSpeed unset on anything above 1 Gbps. LibreNMS falls back to the 32-bit ifSpeed counter, which maxes out its math at 4.29 Gbps and silently produces wrong percentages above that. Make sure high-capacity interfaces report ifHighSpeed in Mbps, which RouterOS does correctly by default on SFP28/QSFP ports – the mistake usually comes from an old custom MIB override, not RouterOS itself.
  • Polling faster than 60 seconds site-wide “to be safe.” On a few hundred devices this turns the poller itself into the bottleneck and you start losing polls under load – which then trips false device-down alerts. Five-minute polling is enough for capacity trending; use SmokePing, not SNMP polling, for the latency resolution you actually want.
  • One SNMP community for every device. Fine for a lab, not for 28 sites – if one router’s community leaks, you are rotating credentials everywhere at once instead of on one device. Scope community/v3 users per site or per device tier.
  • Trusting default RouterOS SNMP OIDs for queue stats. Simple queues report differently from queue trees in SNMP. If PCQ or HTB is doing the real shaping, poll the queue tree OIDs directly rather than assuming the simple-queue graph reflects actual throughput.

Adding flow visibility with RouterOS traffic-flow

SNMP tells you how full an interface is. It does not tell you which subscriber, protocol, or destination is filling it – that is what NetFlow/IPFIX is for, and RouterOS exports it natively without extra licensing:

/traffic-flow set enabled=yes interfaces=all cache-entries=256k active-flow-timeout=30s /traffic-flow target add address=10.60.0.5 port=2055 version=9 v9-template-refresh=20 v9-template-timeout=30m

Point that at a flow collector (nfdump, or LibreNMS’s own flow support if you enable the module) and keep it on the same monitoring VLAN the SNMP community is scoped to – a flow export is itself traffic metadata worth protecting. This is what actually answers “why is uplink utilisation suddenly at 90%” during an incident instead of just confirming that it is.

Alertes qui valent le réveil

La plupart des ensembles d’alertes par défaut sont du bruit. Voici les règles qui méritent leur place :

  • Appareil hors ligne pendant 3 sondages — pas 1. Un seul sondage manqué est généralement le poller, pas l’appareil.
  • Utilisation de l’interface > 80 % pendant 15 minutes — signal de planification de capacité, pas une alerte d’urgence.
  • Perte de paquets en liaison montante > 2 % pendant 5 minutes — c’est celle qui détecte les problèmes en amont avant que les téléphones ne sonnent.
  • PPPoE session count drops > 20% in 10 minutes — a tower or BNG problem, visible before individual complaints.
  • Optical RX power drift > 3 dB from baseline — a splice or connector degrading; fix it in daylight rather than at 2 am.
  • Proxmox host disk > 85% — because the monitoring dying silently is the worst failure of all.

Route them by severity: chat for informational, phone call only for the ones that mean customers are offline.

Grafana panels worth building on day one

An empty Grafana instance is worse than no Grafana – it invites someone to build a dozen panels nobody reads. Start with five that earn a daily glance:

  1. Top 10 interfaces by utilisation, sorted descending, refreshed every minute – the single panel that answers “is anything close to saturated right now.”
  2. SmokePing latency heatmap per upstream – a slow creep here predicts a support-ticket spike before it happens.
  3. PPPoE active session count over 24 hours, per BNG – a flat line at the wrong time of day is as informative as a drop.
  4. Optical RX power per ONU/OLT port, trended over 30 days – this is the panel that turns the alert threshold in the next section from a guess into a baseline.
  5. Proxmox host resource panel – CPU, RAM, and disk I/O for the node running the monitoring stack itself, because a monitoring stack that cannot see its own host failing is not finished.

Retention and backups

RRD data compacts on its own; the database does not. Keep 90 days of syslog and eventlog, and back up the LibreNMS database plus /opt/librenms/config.php nightly to a different physical box. Snapshot the containers weekly from Proxmox.

Test a restore once. A backup you have never restored is a belief, not a backup.

What this stack does not replace

Worth saying plainly: LibreNMS, Grafana, SmokePing, and Uptime Kuma answer “is something wrong and roughly where” – they are not a ticketing system, an escalation chain, or a root-cause database. Pair this with:

  • A real ticketing/escalation path, even a simple one, so an alert in chat actually becomes an owned task with a timestamp – “someone saw it in the channel” is not the same as “someone is working it.”
  • A change log separate from monitoring, so when a graph shifts at 3pm, the first question – “did someone change something?” – has a fast answer instead of starting an investigation from zero.
  • Vendor support contacts and SLAs for anything this stack flags but cannot fix itself, like upstream packet loss on a transit link that is not yours to touch.

A monitoring stack earns its keep by shortening the gap between “something broke” and “someone who can fix it knows exactly what broke.” Everything in this guide is in service of that one gap – nothing here matters if the alert fires into a channel nobody is watching at 2 am.

Multi-POP visibility: one LibreNMS instance or one per site?

One central LibreNMS instance polling every POP over a site-to-site tunnel works fine up to roughly a dozen sites, as long as the tunnels themselves are reliable – the moment a WAN link to one POP flaps, every device behind it reports down at once, which is correct but noisy. Past that, two patterns actually hold up:

  • Regional LibreNMS instances (one per metro or per upstream provider), each feeding a shared Grafana that reads from all of them via multiple data sources. This isolates a WAN flap to one instance’s alerting and keeps the blast radius of any single LibreNMS outage small.
  • A lightweight local poller per POP (a small LXC running just SmokePing and a distributed poller agent) reporting back to one central LibreNMS, so latency/loss detection survives even if the backhaul to the central instance briefly drops – the local poller buffers and catches up.

Neither pattern is worth building before you actually have the multi-site problem. A single LibreNMS instance covering every POP from one Proxmox host, per the build order above, is the right starting point – this is the upgrade path once that instance is itself page one of the dashboard every morning.

Start smaller than this

If you are deploying your first POP, run LibreNMS and SmokePing only. Add Grafana when someone asks for a wall display, and Uptime Kuma when you want a public status page. A monitoring stack you understand end to end beats a bigger one you inherited and never verified.

Écrit par

ZILL E ALI

Ingénieur réseau certifié MTCNA et MTCRE, spécialiste de l'infrastructure ISP et fondateur de Developer Zon. Écrit ici sur MikroTik, Cisco, l'infrastructure ISP et occasionnellement des journaux de construction.

Laisser une réponse

Ce site utilise Akismet pour réduire le spam. Découvrez comment vos données de commentaire sont traitées.