Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan

5. Customize Grafana

by Jan Bachelor February 6, 2026

One thing is to get all the data into Grafana. The other is to ensure that you can visualize the data it gathers in one glance.

  • Go to Dashboards → on the right side, click on the dropdown button and select New → Import.
  • Under ‘Find and import dashboards for common applications’, enter ID: 1860 (Node Exporter Full)
  • Click on the Load button
  • Select your Prometheus data source
  • Click on the Import button
Screenshot of an import window in Grafana to download a ready-made dashboard.
Import the famous Node Exporter dashboard in Grafana

And what do I know? I can already see an issue with my galera-A2 node in terms of CPU and swap usage (I resolved that manually but boy, would it not be nice to have an automated solution? Hint hint for Part 2):

A display of the Node Exporter dashboard in Grafana.
A peek of one of the most popular dashboards in Grafana

Add support for monitoring systemd

The Alloy configuration template already includes systemd service monitoring via the systemd collector. It tracks the status of key services defined in the unit_include regex filter (MariaDB, Nginx, Docker, SSH, etc.).

To verify it’s working, go to Explore → Prometheus and run:

node_systemd_unit_state{instance="your_hostname", state="active"}

You should see entries for each monitored service. The custom Infrastructure Overview dashboard (imported below) includes a “Services Status” panel that displays this data at a glance.

To add or remove monitored services, edit the unit_include regex in the config.alloy.j2 template and re-deploy via AWX.

Import a custom dashboard

There is a whole plethora of dashboards that you can import from the internet. What I was missing slightly was a one-view overview of RAM, disk and service uptime status.

One custom dashboard that might be of interest is something that I drafted with Claude’s help (as it was getting quite complicated):

infrastructure-overview-dashboard-RAM+CPU+disk+systemdDownload

infrastructure-overview-dashboard-RAM+CPU+disk+systemd.json

Screenshot from an import of our 'very own' custom Grafana dashboard.
Import the custom Grafana dashboard

Here’s what it looks like with RAM + disk + CPU + systemd (pre-defined services) monitoring:

The goal of this part of the tutorial - to create a dashboard in Grafana sourced from Prometheus.
The final custom Grafana dashboard that covers all required metrics!

I personally prefer this custom developed overview much more, as it gives me a one-glance overview of everything I care about, including IO pressure and failing systemd services.

And there you have it! Logs are sorted. This is a cornerstone for Part 2 of this tutorial to demonstrate how you can pair it up with automated workflows in a self-hosted version of n8n that can be connected to AI (such as Claude) to deliver and summarize advice related to the findings from your metrics.

What is more, we can then even allow some level of independence to AI to implement a few recommended fixes based on the level of risk. Are you ready?

4. Create a playbook to push Alloy to all hosts
Go back to course overview: Part 1: Ultimate metrics & logs monitoring with visualization using Loki, Prometheus and Grafana

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 FacebookWhatsappEmail

Course Steps

  1. 1. Prepare your VM (Debian)
  2. 2. Configure Docker Containers (Prometheus, Loki, Grafana)
  3. 3. Deploy Alloy to one host
  4. 4. Create a playbook to push Alloy to all hosts
  5. 5. Customize Grafana

Other courses

Turn your Raspberry Pi into a Proxmox Backup...

July 13, 2025

Create an automated Gravity workflow that will allow...

January 19, 2024

Dynamically Populate Gravity Forms from Google Sheets (GSheets...

March 16, 2021

Concur Alternative: Import Employees’ Credit Card Expenses to...

January 19, 2024

OPNSense in HA with CARP with dual WANs

June 30, 2025

Buy Me a Coffee

Buy Me a Coffee Buy Me a Coffee

Recent Posts

  • How to get LXC containers for Proxmox outside of ready-made templates

  • How to join two Proxmox nodes into a cluster (PVE 8.x)

  • How to Rename a Proxmox Node

All Rights Reserved. The theme was customized from Soledad, see PenciDesign

Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan