this post was submitted on 05 Oct 2024
30 points (100.0% liked)

Self Hosted - Self-hosting your services.

11599 readers
1 users here now

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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

The number of containers I'm running on my server keeps increasing, and I want to make sure I'm not pushing it beyond its capabilities. I would like a simple interface accessible on my home network (that does not make any fishy connections out) that shows me CPU and RAM-usage, storage status of my hard drives, and network usage. It should be FOSS, and I want to run it as a Docker container.

Is Grafana the way to go, or are there other options I should consider?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 months ago (2 children)

it's a bit more complicated than that. grafana is only for displaying of the collected info. you still need a database, and something that collects data from systems.

what I do is grafana + prometheus for storage + prometheusnode exporter for collection.
but, I'm not totally satisfied with this setup, because long term storage is unsolved (cranking up the retention time in prom will maje sure it'll cost a lot of storage after a few months), and I haven't found a way to collect info about top users of resources (e.g. top 10 processes by cpu usage)

[–] [email protected] 1 points 2 months ago (1 children)

Ah, I see. What kind of disk usage are we talking about over e.g. one month? I am (at least for now) not necessarily interested in long term storage (but the data hoarder in me might quickly change that).

[–] [email protected] 1 points 2 months ago

I've set it up last December for 3 systems, changed the collection interval from the default 1 minute to 15 sec, and now it uses 15 GB

[–] [email protected] 1 points 2 months ago

Victoria Metrics is a timeseries database for long term storage. Can be used as a direct plugin to Prometheus et al.