Monitoring that is built from NetBox, and reports back to it
LibreNMS polls every device over SNMP and Uptime Kuma watches every service. Neither keeps its own list: both are driven by what NetBox says exists. And when something breaks, the outage is written back into NetBox, on the device itself.
NetBox → monitoring
- A device added in NetBox fires an event rule. A webhook adds it to LibreNMS with the right SNMPv3 settings and creates an Uptime Kuma monitor. (The rules are in the live NetBox; they stay switched off in this public demo so visitors cannot add devices to a real monitoring server.)
- The netbox-librenms-plugin links each NetBox device to its LibreNMS record and shows its status on the NetBox device page.
- SNMP location and contact come from NetBox config contexts, so every monitoring tool shows the same site, rack and owner.
- Nothing is monitored by hand, so nothing gets forgotten.
Monitoring → NetBox
- LibreNMS sends each alert to a small connector, which writes a journal entry on that device in NetBox: what failed, when, and the alert details.
- When the device recovers, a second entry records the recovery and the length of the outage.
- Anyone opening the device in NetBox sees its full outage history next to its rack position, warranty and support contract.
- The connector is a small service on the lab's monitoring network with its own NetBox account that can only add journal entries. SNMP traps from any device can follow the same path, whichever monitoring system the customer runs.
Live: outages written into NetBox
These entries are read straight from the live NetBox right now. Each one was written by the monitoring connector when LibreNMS raised or cleared an alert, not typed by a person.
| When | Kind | Device | Entry |
|---|---|---|---|
| Loading from NetBox… | |||
How the drill works
The lab has a small test device that LibreNMS watches as Demo: dal1-leaf-01 outage drill. When it is switched off, LibreNMS raises a real "device down" alert, the connector writes a Danger entry on dal1-leaf-01 in NetBox, and when it comes back a Success entry records the recovery and how long the outage lasted. Only this test device is connected, so the lab's real inventory stays private.