Ein zuverlässiger ISP‑Monitoring‑Stack für Proxmox‑Hosts sollte bei jedem POP, den Sie bauen, gleich aussehen.
Jeder POP erhält dieselbe Monitoring‑Umgebung, weil die schlechteste Zeit, Monitoring zu entwerfen, während eines Ausfalls ist. Dies ist der Stack, die Dimensionierung und die Alarme, die bei echten Vorfällen ausgelöst werden.
Der ISP‑Monitoring‑Stack Proxmox‑Hosts
| Komponente | Rolle | Container‑Dimensionierung |
|---|---|---|
| LibreNMS | SNMP‑Abfrage, Geräteinventar, Alarmierung | 4 vCPU, 8 GB RAM, 100 GB |
| Grafana | Dashboards für NOC‑Bildschirme und Verwaltung | 2 vCPU, 2 GB RAM, 20 GB |
| SmokePing | Latenz‑ und Paketverlust‑Grundwerte | 1 vCPU, 1 GB RAM, 20 GB |
| Uptime Kuma | Öffentliche Service‑Checks und Statusseite | 1 vCPU, 1 GB RAM, 10 GB |
Alle vier laufen als unprivilegierte LXC‑Container auf einem einzigen Proxmox‑VE‑Knoten. Bei etwa 800 überwachten Geräten liegt die CPU‑Auslastung des Knotens bei etwa 6 % – die Engstelle ist der Festplatten‑I\/O durch RRD‑Schreibvorgänge, nicht die Rechenleistung. Platzieren Sie den LibreNMS Container auf einer SSD.

Reihenfolge beim Aufbau, die Nacharbeit vermeidet
- Proxmox‑Host: separater Speicher für Container und Backups, ZFS, falls Sie genug RAM haben, und ein Management‑VLAN, das erreichbar ist, wenn das kundenorientierte Netzwerk nicht verfügbar ist.
- LibreNMS zuerst, mit SNMP v3 (auth + priv) — v2c‑Community‑Strings an einer öffentlich zugänglichen Edge sind ein Sicherheitsproblem, das nur darauf wartet, entdeckt zu werden.
- SmokePing zeigt auf Ihre Upstream‑Gateways, einen öffentlichen Anker wie 1.1.1.1 und jeden Tower‑Router.
- Grafana zuletzt, aus LibreNMS auslesen. Erstellen Sie keine Dashboards, bevor Sie wissen, was ausfällt.
SNMP auf RouterOS
/snmp community add name=nms-v3 authentication-protocol=SHA1 encryption-protocol=AES \ authentication-password= encryption-password= \ security=private addresses=10.60.0.0/24 /snmp set enabled=yes contact="[email protected]" location="POP-A" Einschränken Adressen auf das Monitoring‑Subnetz ist der Unterschied zwischen ordnungsgemäßem Monitoring und einer Informations‑Disclosure‑Lücke.
SNMP‑Abfrage‑Fehler, die Ihre Diagramme verzerren
Die Hälfte der “LibreNMS lügt mich an”‑Beschwerden, die ich erhalte, lässt sich auf eines dieser Probleme zurückführen, nicht auf einen LibreNMS‑Bug:
- ifHighSpeed bei Geräten über 1 Gbps nicht setzen. LibreNMS greift auf den 32‑Bit‑ifSpeed‑Zähler zurück, der seine Berechnungen bei 4,29 Gbps begrenzt und darüber stillschweigend falsche Prozentsätze liefert. Stellen Sie sicher, dass Hochgeschwindigkeits‑Interfaces ifHighSpeed in Mbps melden, was RouterOS standardmäßig auf SFP28/QSFP‑Ports korrekt tut – der Fehler stammt meist von einer alten benutzerdefinierten MIB‑Überschreibung, nicht von RouterOS selbst.
- Abfragen schneller als alle 60 Sekunden site‑wide “zur Sicherheit.” Bei einigen hundert Geräten wird der Poller selbst zum Engpass und Sie verlieren unter Last Abfragen – was falsche Geräte‑Ausfall‑Alarme auslöst. Ein Fünf‑Minute‑Intervall reicht für Kapazitätstrends; verwenden Sie SmokePing statt SNMP‑Abfragen für die Latenz‑Auflösung, die Sie tatsächlich benötigen.
- Eine SNMP‑Community pro Gerät. 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\nset enabled=yes interfaces=all cache-entries=256k active-flow-timeout=30s\n\n\/traffic-flow target\nadd 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.
Alerts worth waking up for
Most default alert sets are noise. These are the rules that earn their place:
- Device down for 3 polls — not 1. A single missed poll is usually the poller, not the device.
- Interface utilisation > 80% for 15 minutes — capacity planning signal, not an emergency page.
- Uplink packet loss > 2% for 5 minutes — this is the one that catches upstream problems before the phones ring.
- 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:
- Top 10 interfaces by utilisation, sorted descending, refreshed every minute – the single panel that answers “is anything close to saturated right now.”
- SmokePing latency heatmap per upstream – a slow creep here predicts a support-ticket spike before it happens.
- PPPoE active session count over 24 hours, per BNG – a flat line at the wrong time of day is as informative as a drop.
- 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.
- 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.
