How do you monitor your server containers, disks, load…?

Do you use an easy-to-use web interface? Do you do everything via SSH? Or maybe you’ve got a more complicated setup?

I want to change my setup and I’m looking for new ideas, I’ve been using Cockpit for some years and some of the plugins are really outdated (ZFS for example) and others are completely broken (docker-compose).

At home, libreNMS. Just SNMP everything.

For work, whatever the tool of the day is from management.

Possibly linux
link
fedilink
English
17M

Um, Proxmox?

@Trincapinones@lemmy.world
creator
link
fedilink
English
07M

I am running everything in docker compose so I’ve never found a use to it that justifies the waste of power

Possibly linux
link
fedilink
English
2
edit-2
7M

docker-compose doesn’t scale well and if you run it natively it is a little less secure.

Virtualization adds 1-2% of overhead at most and gives you way more control of how the hardware is used.

If you setup is small docker-compose might be easier to manage but as soon as you get more hardware it becomes the limiting factor. I still use docker-compose but now I run it in a VM

@Toribor@corndog.social
link
fedilink
English
27M

I switched from docker compose to pure Ansible for deploying my containers. Makes managing config and starting containers across multiple hosts super easy. I considered virtualizing too but decided it didn’t offer me enough advantages. If I ever have an issue with the host OS I just reinstall using a preseed file and then rerun my playbooks and it’s ready to go.

@zaphod@lemmy.ca
link
fedilink
English
217M

“Huh weird, I tried to use <insert service here> and it’s not working. Welp, guess I better fix it…”

i just have top running through ssh on an xterm window.

At home, nagios, at work colleagues. (I finally escaped the admin rat race)

@SorteKanin@feddit.dk
link
fedilink
English
4
edit-2
7M

Grafana set up to run on the server locally, then I connect to it via SSH forwarding. Then I can view all kinds of metrics in my browser in a neat interface.

@Trincapinones@lemmy.world
creator
link
fedilink
English
27M

I liked Grafana a lot, but I can’t monitor things like zfs pools with it right?

@SorteKanin@feddit.dk
link
fedilink
English
67M

I don’t know as I don’t use zfs pools, but a simple search led me to this https://grafana.com/grafana/dashboards/15362-zfs-pool-metrics/

@Trincapinones@lemmy.world
creator
link
fedilink
English
37M

Nevermind then! Will take a look at it ^^

Zabbix for agent / snmp based statistics.

Uptime Kuma for up/down states with a webhook notification into Discord so I get instant alerts on my phone when one goes down.

@aksdb@lemmy.world
link
fedilink
English
517M

My own server? YOLO

At work? Grafana, KOBS, Victoria Metrics, Jaeger, OpsGenie, …

This is the first time I’ve heard of Victoria Metrics. It looks like it has a similar use case as Prometheus, is that correct? If so, what made you or your team choose one over the other?

@aksdb@lemmy.world
link
fedilink
English
27M

IIRC it had better performance than Prometheus. We also ditched Elasticsearch in favor of ClickHouse to keep up with log ingestion.

Thanks for the info! Looks pretty cool I’ll have to check it out

@scrion@lemmy.world
link
fedilink
English
2
edit-2
7M

I can second that. We had some really good experiences with ClickHouse and its performance. If it fits the bill, it’s a very nice piece of software.

@summerof69@lemm.ee
link
fedilink
English
207M

My own server? YOLO

I can’t figure out whether there’s a monitoring tool called YOLO or you don’t monitor anything.

@aksdb@lemmy.world
link
fedilink
English
197M

Now I am intrigued to develop one that is called YOLO.

But just in case: no, I don’t monitor my server. If I notice something not working, I ssh into the machine and check what’s up. I don’t want to deal with another zoo of services for the monitoring part.

Shimitar
link
fedilink
English
37M

You are me

Yes.

@JoeKrogan@lemmy.world
link
fedilink
English
2
edit-2
7M

Btop and logwatch with logrotate. I use healthchecks to check if the server is unreachable and it notifies me.

ArmoredCavalry
link
fedilink
English
207M

I’m a huge fan of Netdata, very configurable and monitors just about anything you could want. Great interface and alerts too - https://www.netdata.cloud/

Encrypt-Keeper
link
fedilink
English
27M

I love how easy to use NetData is, but when running it on my home servers it destroys their performance lol. Every once in awhile I check in to see if it runs better.

ArmoredCavalry
link
fedilink
English
17M

That’s strange, I’ve run it fine on some very underpowered hardware. Are you adding a specific monitoring integration with it, or just out of the box settings?

Encrypt-Keeper
link
fedilink
English
17M

Just out of the box. I am usually running it as a container on UnRAID on an x86 machine. It seems primarily to just be a big memory hog when I’ve tried to use it.

ArmoredCavalry
link
fedilink
English
17M

Weird! For reference one VM I run on only has 1 GB of memory, and Netdata uses 100-200 MB. Could be something going on with UnRAID though. Definitely some sort of bug I’d think, since normally resource usage should be very low across the board.

@cmeu@lemmy.world
link
fedilink
English
87M

Same been running netdata for years. They’re monetizing now where it used to just be free. Good for them, it’s a great product. And it’s foss

@Trincapinones@lemmy.world
creator
link
fedilink
English
67M

I was looking for something free that I could host on my machine but thanks, I didn’t know about it

ArmoredCavalry
link
fedilink
English
3
edit-2
7M

As others stated, you can run and access the interface locally (or setup your own reverse proxy) for free. Their Cloud dashboard is also free for up to 5 nodes. They recently added a flat-rate “Homelab” plan as well, if you want to remove the limit. It’s all quite usable for $0 otherwise though!

Kuecki Eben
link
fedilink
English
87M

Netdata is free and can be run standalone. Just install it and do not configure the cloud integration. You can see your dashboard on localhost:19999

@Trincapinones@lemmy.world
creator
link
fedilink
English
27M

Oh that’s neat, will take a look! Can you run it on docker?

Netdata 100%

It feeds my itch for more data than I know what to do with and it’s presented in one of the cleanest ways I’ve ever seen for so much info.

packetloss
link
fedilink
English
47M

Zabbix

@IHawkMike@lemmy.world
link
fedilink
English
17M

Adding my vote for Zabbix. It was a bit of a bear to set up and I had to write custom scripts to install the agents with TLS settings that were secure enough for me, but once it’s all set up it’s amazingly easy and intuitive to use and incredibly customizable.

@aordogvan@lemmy.world
link
fedilink
English
27M

Second Zabbix. Been using it for years and it just works.

Toes♀
link
fedilink
English
487M

My clients when they text me the server is down.

fatboy93
link
fedilink
English
227M

This has the same energy as my spouse yelling at me because jellyfin went down

Or my partners greeting me in the morning “Home assistant went down again, so the lights are all manual”

Thankfully that one is mostly solved.

@TCB13@lemmy.world
link
fedilink
English
37M

So damn accurate ahhaha

its_me_gb
link
fedilink
English
12
edit-2
7M

Node exporter on hosts, OpenTelemetry collector to scrape metrics and collect logs, shipping them to Prometheus and Loki, visualising with Grafana.

Day job is for an observability platform where we heavily encourage the use of (and also contribute) to the OpenTelemetry collector project, hence my use of it.

@farcaller@fstab.sh
link
fedilink
English
37M

Try VictoriaMetrics. Basically the same feature set as Prometheus, but so much more resource friendly for homelab scale. I store some metrics for 12 months now, because it’s easy.

@phase@lemmy.8th.world
link
fedilink
English
17M

Do you have a name for the opentelemetry collector? I’m interested.

its_me_gb
link
fedilink
English
37M

Use the Contrib version of the collector, it has many more receivers, processors and exporters

GitHub - OTEL collector contrib

OSH
link
fedilink
English
17M

Similar setup here with additional exporters like cadvisor for container metrics and other components.

OpenTelemetry is awesome, but still a very fast moving project. Expect therefore more frequent updates and changes compared to more older and established projects.

Monitorix or Netdata.

@refreeze@lemmy.world
link
fedilink
English
47M

Prometheus and Altertmanager

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
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog