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).

ArmoredCavalry
link
fedilink
English
97M

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
17M

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.

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

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
1
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!

@cmeu@lemmy.world
link
fedilink
English
47M

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

@aksdb@lemmy.world
link
fedilink
English
167M

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.

@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.

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

@Caaaaarrrrlll@lemmy.ml
link
fedilink
English
1
edit-2
7M

deleted by creator

@fluckx@lemmy.world
link
fedilink
English
17M

anything can output that even PHP.

That sounded pretty bitter.

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

@keyez@lemmy.world
link
fedilink
English
17M

Grafana, fronting information from Prometheus, Loki and Telegraf/influxdb since I’m used to that from work and has been a bit more set and forget compared to node_exporter. Easier to add in plugins as well instead of a new container/service to scrape.

@refreeze@lemmy.world
link
fedilink
English
27M

Prometheus and Altertmanager

packetloss
link
fedilink
English
47M

Zabbix

@aordogvan@lemmy.world
link
fedilink
English
27M

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

@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.

@TCB13@lemmy.world
link
fedilink
English
07M

systemd can be used to run whatever notification scheme you would like to use whenever some service fails. Here’s an example of how to do it: https://www.baeldung.com/linux/systemd-service-fail-notification

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.

qaz
link
fedilink
English
1
edit-2
7M

Cockpit, Cosmos Cloud, Portainer, Grafana, and a few other things. It’s not the most optimal solution but it kinda of works for now.

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

I’ve been using uptime Kuma recently and it’s great but works better outside of docker.

Inside docker I’d get a lot of false down positives from I assume docker throttling the checks.

Plus it works with email, telegram, and matrix chat alerts. I monitor all my clients sites with it, and it’s bullet proof behind caddy.

For light touch monitoring this is my approach too. I have one instance in my network, and another on fly.io for the VPSs (my most common outage is my home internet). To make it a tiny bit stronger, I wrote a Go endpoint that exposes the disk and memory usage of a server including with mem_okay and disk_okay keywords, and I have Kuma checking those.

I even have the two Kuma instances checking each other by making a status page and adding checks for each other’s ‘degraded’ state. I have ntfy set up on both so I get the Kuma change notifications on my iPhone. I love ntfy so much I donate to it.

For my VPSs, this is probably not enough, so I am considering the more complicated solutions (I’ve started wanting to know things like an influx of fali2ban bans etc.)

I just do web hosting for clients sites and use Kuma to monitor uptime and SSL certificates.

Ive got multiple Kuma’s running as well.

@Ackward@lemmy.world
link
fedilink
English
17M

Prometheus + node/container exporters. + Grafana for dashboards I haven’t touched zabbix in years but last time it didn’t support very well dynamic scalations. Also all of them are focused on monitoring infrastructure, you need to pay if you want APM or UX.

Enterprise level, for APM I like datadog, much better than NR. For UX we use acoustic tealeef.

Dran
link
fedilink
English
47M

How has nobody in this thread said check_mk yet?

It’s free, you host it yourself. It’s built off of nagios, compatible with nagios plugins, supports snmp or agent based checks. It can email, SMS, slack or discord you when something breaks, you can write your own custom checks in any language that can output to a local console… I could never imagine even looking for something else.

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

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

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