Network Monitoring with Prometheus & SNMP Exporter in the Homelab

Why SNMP Exporter instead of LibreNMS?

Anyone who’s done network monitoring before knows the usual suspects: Nagios, Zabbix, LibreNMS. These tools come with everything — SNMP discovery, device inventory, maps, alerting — but also their own database, their own visualization layer, and their own operational overhead.

In a homelab that already runs Prometheus, Grafana, and Loki, there’s little reason to add LibreNMS on top. The Prometheus SNMP Exporter fits seamlessly into an existing stack: it’s a single container that accepts SNMP queries and returns them as Prometheus metrics.

In this post I’ll walk through how I’m monitoring OPNsense, a Ruckus R720 AP, managed switches, Proxmox nodes, and a Brother printer with it.


Preparing devices: enabling SNMP

OPNsense

Go to Services → SNMP: enable the service, set a community string (e.g. homelab), bind to the LAN interface.

Ruckus R720

In the web UI under System → SNMP: enable SNMPv2c, enter the community string.

Proxmox nodes

On each node in the shell:

Edit /etc/snmp/snmpd.conf:

Managed switch & Brother printer

Varies by vendor — enable SNMP in the management UI and set the community string. On the Brother DCP-L8410CDW the option is under Network → Protocol → SNMP.


Docker Compose (Dockge)

Place snmp.yml in the same directory as the compose file.


snmp.yml — configuration

The official snmp.yml from the repository ships with ready-made modules for hundreds of device types and is the recommended starting point:

For a leaner custom config (compatible with snmp_exporter v0.26+):

Note on the Brother page counter: OIDs under 1.3.6.1.4.1.2435 are model-specific. The best way to find the right one for your printer is to run snmpwalk -v2c -c homelab <IP> 1.3.6.1.4.1.2435 and look for a counter that increments with each print job. The standard Printer-MIB (1.3.6.1.2.1.43) is model-independent and reliably covers toner levels.


Prometheus scrape config


Testing it

Once the container is running, query a device directly to verify everything works:

You should see Prometheus-formatted metrics. An empty response usually means a firewall issue — UDP 161 needs to be open from the exporter host to the target devices.


Grafana dashboards

Ready-made dashboards on grafana.com that work with these metrics out of the box:

  • 11169 — SNMP interface monitoring (generic)
  • 21491 — OPNsense
  • 10347 — Proxmox (SNMP)

For the printer, a simple hand-built dashboard works well — toner colors come through as labels directly from the SNMP walk.


Wrap-up

The SNMP Exporter is the leanest way to bring network devices into an existing Prometheus/Grafana stack. No extra database backend, no separate web UI — just one exporter container and a few lines of config. If you already have the stack running, it’s a much cleaner solution than standing up LibreNMS or Zabbix alongside it.

Fixing “OSError: image file is truncated” in Paperless-ngx while keeping PDF/A

Paperless-ngx installation done by ttecks Helperscripts. Getting every now and then those errors. Changing scanners didn’t help. (Brother xxx -> Fujitsu FI-8150)

one solution mentioned on Github was to set the output format from PDF/A to plain PDF as a workaround. But I decided to keep PDF/A.

Read more

Ubuntu 24.04 Server Quick Start: Sudo User, SSH Hardening, fail2ban, Docker and Dockge

Every time I spin up a new Ubuntu server I go through the same handful of steps before anything else touches it. This post is that checklist, written down so I (and hopefully you) don’t have to piece it together again. It assumes a fresh Ubuntu 24.04 LTS install where your SSH public key is already in place for the initial login.

Throughout the post I use youruser as the new account name and 2222 as the new SSH port. Replace both with your own values.

Golden rule: keep your current SSH session open the whole time and test every change from a second terminal. That way a typo never locks you out.

Read more

Speedtest Track / docker compose fix

LXC container mit Komodo ausgerollt (Proxmox Helper Scripts)

Anschließend den Stack eingerichtet und folgende compose kopiert:

Read more

Comparison of PMMA vs. Nylon filaments

Comparison of PMMA vs. Nylon (PA-12, PA-6, PA-66, and Blends) for 3D Printing

PMMA (Polymethyl Methacrylate) and Nylon filaments each have unique properties that make them suitable for different applications. This comparison highlights key differences in mechanical strength, heat resistance, chemical resistance, and ease of printing.

1. Mechanical Properties

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends (PA-CF/PA-GF)
Strength High Moderate High Very High Very High
Toughness Brittle (low impact strength) High (impact-resistant) Moderate Low Moderate to Low
Flexibility Rigid High Moderate Low Low
Abrasion Resistance Moderate High Very High Very High Extremely High

2. Heat Resistance

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends
Heat Deflection Temp (HDT) ~80–100°C ~100°C ~120°C ~150°C ~150°C or higher

3. Chemical Resistance

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends (PA-CF/PA-GF)
Chemical Resistance Poor (sensitive to solvents, acids) Moderate Moderate to High High High

4. Water Absorption and Dimensional Stability

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends (PA-CF/PA-GF)
Water Absorption Very Low Low High Very High Low to Moderate
Dimensional Stability Excellent Good Poor (affected by humidity) Poor (affected by humidity) Good

5. Transparency and Aesthetic Properties

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends (PA-CF/PA-GF)
Transparency Fully Transparent Opaque Opaque Opaque Opaque
Surface Finish Glossy and smooth Matte or semi-matte Matte Matte Matte

6. Ease of Printing

Property PMMA Nylon PA-12 Nylon PA-6 Nylon PA-66 Nylon Blends (PA-CF/PA-GF)
Ease of Printing Difficult (warping, adhesion issues) Easier Difficult Very Difficult Moderate
Print Temp. (°C) ~240–260°C ~240–260°C ~250–270°C ~260–280°C ~250–280°C

7. Applications

Material Typical Applications
PMMA Optical lenses, light covers, display cases, decorative parts
Nylon PA-12 Gears, hinges, medical devices, flexible functional parts
Nylon PA-6 Automotive parts, industrial components, durable mechanical parts
Nylon PA-66 Engine components, high-stress industrial parts, high-temperature applications
Nylon Blends Lightweight structural parts, drones, high-performance gears, aerospace components

Conclusion

PMMA is best for clarity and aesthetic applications, while Nylons are more suited for high-strength, high-temperature, and wear-resistant applications. Nylon PA-66 and PA-CF/PA-GF blends are ideal for industrial and mechanical parts, whereas PA-12 offers better flexibility and moisture resistance.