this post was submitted on 17 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

I have a Raspberry Pi running Docker and a number of containers. I plan on adding another Pi soon. Curious what folks are using for a dashboard to monitor performance of all your hosts and containers. I was thinking of deploying Grafana for this but am curious what others use.

top 29 comments
sorted by: hot top controversial new old
[–] Heel11@alien.top 1 points 11 months ago (1 children)
[–] murdaBot@alien.top 1 points 11 months ago

Only reason I keep a Windows box around!

[–] Herobrine__Player@alien.top 1 points 11 months ago (1 children)

Does overspeccing your hardware so much performance issues never come up count?

For normal people grafana & prometheus are typical good answers.

[–] griphon31@alien.top 1 points 11 months ago

Flag a warning when usage hits 5% so you can start saving for the next server

[–] qwertyvonkb@alien.top 1 points 11 months ago (1 children)
[–] redstonefreak589@alien.top 1 points 11 months ago (2 children)

I second this. I just set my instance up a couple weeks ago.

While researching, I saw many people saying that it’s very good but is hard to set up. I disagree with that to some degree; Setup itself is extremely easy, configuring it the way you want isn’t as easy BUT is wayyy more time consuming. Time consuming != hard, though. Just take time to tweak it how you want.

[–] cjchico@alien.top 1 points 11 months ago

I second this. Setup was a breeze for me compared to checkmk.

[–] Impressive-Cap1140@alien.top 1 points 11 months ago

What specs did you put it on?

[–] HTTP_404_NotFound@alien.top 1 points 11 months ago (1 children)

Well, I run my containers in kubernetes.

And, it more or less includes full support for prometheus/grafana/alertmanager/etc.

So- I use that.

[–] CincyTriGuy@alien.top 1 points 11 months ago (1 children)

I have questions about this. I’ll be getting another Pi or two and was considering putting k8s on them. Would I be able to set them up with kubernetes and then import my existing Docker containers from my current Pi to them?

[–] HTTP_404_NotFound@alien.top 1 points 11 months ago

Yup. You can do that.

Although- you wouldn't "import" your existing containers. but, you can...

  1. Create manifests for your containers (Kubernetes runs the exact same docker containers). or, find helm charts for your containers.
  2. Import the storage from docker into your new PV/PVCs.

I would, suggest learning kubernetes first though. Learning curve can be rather steep.

Also, rancher + k3s would work perfect for your Pis.

[–] vicenormalcrafts@alien.top 1 points 11 months ago

Prometheus and Grafana for production environments

[–] sig_kill@alien.top 1 points 11 months ago (1 children)

I really enjoy practicing with Datadog - though it gets quite expensive really quickly and is quite overkill for 6-7 hosts, many VMs, and 20ish containers.

We use it at work, but monitoring isn’t my team’s responsibility so I try to understand how it all fits together by practicing with it at home.

I think Datadog should have a homelabber tier (above the free 5 physical hosts) that allows people to tinker. I honestly think it would net them more customers.

[–] murdaBot@alien.top 1 points 11 months ago

Ahhh, Datadog, the sleazy used car salesmen of the observability market. Seriously, they're hucksters.

[–] JoeB-@alien.top 1 points 11 months ago

Telegraf with Docker Input Plugin installed on the Host writing to InfluxDB and displayed in Grafana, both running in Docker containers.

Here is a screenshot of my Server Performance Grafana dashboard.

[–] barrycarey@alien.top 1 points 11 months ago

Telegraf, InfluxDB and Grafana

[–] Coolfeather2@alien.top 1 points 11 months ago (1 children)
[–] Oujii@alien.top 1 points 11 months ago

Does netdata support multiple servers? Can I see statistics for all hosts in a centralized way?
Thank you!

[–] ITLevel01@alien.top 1 points 11 months ago

I’m curious which monitoring tool is the easiest to deploy and maintain. I’m looking to deploy a monitoring solutions via docker on an existing server. I wasn’t a fan of Zabbix with their docker deployment.

[–] ohv_@alien.top 1 points 11 months ago

vSphere lol

[–] Nintendofreak18@alien.top 1 points 11 months ago
[–] SilentDecode@alien.top 1 points 11 months ago

Mostly my own eyes.. /s

I run Dozzle as a container on my host and I use the command 'docker stats' on the CLI on the dockerhost for in-depth stuff.

[–] Deathwich@alien.top 1 points 11 months ago

Netdata, works well for me

[–] jasont80@alien.top 1 points 11 months ago

Home Assistant.

[–] cjchico@alien.top 1 points 11 months ago

Zabbix and a TIG stack

[–] GoobyFRS@alien.top 1 points 11 months ago
[–] laffer1@alien.top 1 points 11 months ago

Munin. It’s highly portable and works with many operating systems.

[–] danieldl@alien.top 1 points 11 months ago

I'm definitely alone but... Checkmk. AMA.

[–] Pengozoid@alien.top 1 points 11 months ago

Grafana, VictoriaMetrics (drop-in replacement for Prometheus with better storage efficiency and enhanced query language), Loki, Telegraf and Promtail for metrics and logs correspondingly.

Example with provisioned datasources and dashboards here:

https://gitlab.com/homelab_software/monitoring

It’s possible to ship metrics and logs with cAdvisor and other tools.