Hi, I have a bunch of Raspberry Pies hosting all kinds of stuff and I want to have a monitoring solution for all of that. What would be your recommendations?

My goal is to be able to have an overview of CPU load, network load, CPU temp and to see what’s going on inside docker containers as I have everything dockerized. I’d like the solution to be open source. I want the solution to be web browser accessible and have nice load graphs with history. I don’t want to spend too much time setting it up.

All my Pies are running RaspberryOS, which is Debian based.

Mellow
link
fedilink
English
59M

Grafana, influxdb, telegraf agents. Easy to setup. Barely any configuration required. Everything you asked for in the default telegraf agent config. There are dashboards with plenty of examples on grafanas website.

@Aux@lemmy.world
creator
link
fedilink
English
29M

What’s the difference between Prometheus and Telegraf? Why do you prefer Telegraf?

@keyez@lemmy.world
link
fedilink
English
1
edit-2
9M

My work environments use Prometheus and node-exporter and grafana. At home I use telegraf, influxdb and grafana (and Prometheus for other app specific metrics) but the biggest reason I went with telegraf and influxdb at home is because Prometheus scrapes data from the configured clients (pull), while telegraf sends the data on the configured interval to influxdb (push) and starting my homelab adventure I had 2 VMS in the cloud and 2 pis at home and having telegraf sending the data in to my pis rather than going out and scraping made it a lot easier for that remote setup. I had influxdb setup behind a reverse proxy and auth so telegraf was sending data over TLS and needed to authenticate to just the single endpoint. That is the major difference to me, but there are also subsets of other exporters and plugins and stuff to tailor data for each one depending on what you want.

@Aux@lemmy.world
creator
link
fedilink
English
19M

Ok, great to know, thanks!

Mellow
link
fedilink
English
29M

Influxdb is a “time series” database for storing metrics. Temperatures, ram usage, cpu usage with time stamps. Telegraf is the client side agent that sends those metrics to the database in json format. Prometheus does pretty much the same thing but is a bit too bloated for my liking, so I went back to Influx.

@foobaz@lemmy.world
link
fedilink
English
19M

prometheus is bloated?

@hottari@lemmy.ml
link
fedilink
English
19M

Glances should be right up your alley.

@unchain@lemmy.world
link
fedilink
English
39M

For monitoring network devices (SNMP) I recommend LibreNMS. You can configure it to send data to other databases like Prometheus for centralization of all metrics.

https://www.librenms.org/

@snekerpimp@lemmy.world
link
fedilink
English
49M

Second for Netdata for the temps and load info, portainer for docker monitoring. Netdata gives you more real time info than even glances. Portainer is an easy way to look at logs and such, I don’t use it to manage, prefer command line for that. Netdata we’ll give you some docker info, but not logs.

@Aux@lemmy.world
creator
link
fedilink
English
1
edit-2
9M

I use Ansible for management, I just want to see nice graphs and maybe get alerts when things go south. Thanks for recommendation.

Monit

@bmcgonag@lemmy.world
link
fedilink
English
29M

I’m kind of loving Zabbix, but not sure if it’s the right solution for your needs. I’d say it would definitely work, but does take a bit of setup initially. This article is interesting, and seems to have a lot of what you want. Not sure if you want to do all of this. https://opensource.com/article/23/3/build-raspberry-pi-dashboard-appsmith

@Nibodhika@lemmy.world
link
fedilink
English
59M

I use netdata, it’s quick and easy, but I don’t think it monitors docker containers specifically.

@Aux@lemmy.world
creator
link
fedilink
English
19M

I’ll take a look, thanks!

@auf@lemmy.ml
link
fedilink
English
19M

I’m suggesting Homepage for someone for the second time.

https://github.com/gethomepage/homepage

@Aux@lemmy.world
creator
link
fedilink
English
19M

I’ll take a look, thanks.

TOR-anon1
link
fedilink
English
19M

I don’t use Docker, so this may not help you, but I find bpytop and ssh works just fine. :)

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 31 users / day
  • 80 users / week
  • 216 users / month
  • 845 users / 6 months
  • 1 subscriber
  • 1.42K Posts
  • 8.13K Comments
  • Modlog