$ cat ~/map/pi-librenms.md
pi-librenms
LibreNMS network-monitoring tools for pi: devices, ports, alerts, and Oxidized configs over the REST API, no MCP layer.
extensions✓ Sep 22
Facts
- repository
- github.com/ninjaltd/pi-librenms ↗
- GitHub Stars
- ★ 0
- Forks
- 0
- license
- MIT
- npm / mo
- —
- last push
- Sep 21, 2026
install
pi install git:github.com/ninjaltd/pi-librenms (or install by URL), then restart pi or run /reload; configure via LIBRENMS_URL and LIBRENMS_TOKEN environment variables, a PI_LIBRENMS_CONFIG file, the default ~/.config/pi-librenms/config.env, or a project-local .pi/librenms.json## TL;DR
pi-librenms adds twenty LibreNMS tools to pi so the agent can check devices, ports, outages, syslog, alerts, BGP sessions, inventory, and Oxidized configs over the LibreNMS REST API — no MCP layer, configured with LIBRENMS_URL and an API token.
## Key points
- $Monitoring coverage: librenms_ping verifies connectivity and the token; device listings filter up, down, or all; per-device tools cover ports, outage history, event log, and syslog search; a port lookup by ID and a MAC-address search round out the interface side.
- $Alert and inventory surfaces: current and historical alerts, device locations, device groups, and hardware inventory spanning components, modules, and chassis.
- $BGP and Oxidized: all BGP sessions plus per-session detail, alongside the Oxidized trio — devices tracked, latest backed-up config per device, and a search across all stored configs by string.
- $The guarded write path: device_maintenance_status reports whether a device sits in a maintenance window, and device_maintenance puts one in — asking for confirmation before acting.
- $Configuration resolves in a documented first-hit-wins order: environment variables, then the PI_LIBRENMS_CONFIG file path, then the default config.env under ~/.config/pi-librenms, then a project-local .pi/librenms.json.
- $No MCP layer: the extension calls the LibreNMS REST API directly — the README frames the whole stack as pi, an extension, and a read API token.
## FAQ
Q Can pi-librenms change my network?
The tool set is query-oriented; the one state-changing tool is device_maintenance, which schedules a maintenance window and asks for confirmation first.
Q Where does the extension find its credentials?
The lookup order starts with the LIBRENMS_URL and LIBRENMS_TOKEN environment variables and ends at a project-local .pi/librenms.json, which the README suggests for per-project LibreNMS instances; a chmod 600 config.env under ~/.config/pi-librenms is the documented default.
Q Does it need any service besides LibreNMS?
No — the extension talks to the LibreNMS REST API directly, with no MCP layer and no extra services in between.
## References
## Related entries
$ big-pi
Model-driven compression that summarizes completed phases into tiered blocks while Pi's JSONL transcript stays authoritative and untouched.
$ dsh-pi-agent
DeepSeek Harness (DSH) AgentFactory that swaps DSH's native agent loop for a headless pi --mode rpc child, so DSH's web UI, sessions, hooks, and presets keep working with pi's minimal prompt and four tools.
$ Pi Taste
Local preference-learning extension that distills accepted and rejected turns into one readable taste.md.
## Guides
Last updated: Sep 22, 2026