this post was submitted on 17 Feb 2024
90 points (97.9% liked)

Selfhosted

39964 readers
376 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:

  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!

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] Caaaaarrrrlll@lemmy.ml 3 points 8 months ago* (last edited 8 months ago) (1 children)

Grafana and Alertmanager. For graphing and sending webhooks into Discord and Email for me to see in real-time.

Prometheus and its exporters. If it has an exporter I can monitor it in Grafana. If it doesn't have an exporter, I might be able to make one for it, since it's just a plaintext static webpage with serialized metrics on it, anything can output that like PHP.

Infping/Influxdb for smokeping-like data in Grafana, works great for telling me about any packet loss or increased latency on any network that responds to ICMP echo. My uncle uses my services to complain to Spectrum about his Coax connection, which has led to him being able to have his ISP physically come out and stabilize it, now it hardly ever blips.

Also all of this is federated so if one server goes down I don't lose 100% of my monitoring, and I can customize my data retention time based on how much disk I have locally. I use Ansible to automate updates and configuration.

It costs me 2-3 small-to-medium sized VPSes a month, or under $30/mo USD, which is a bargon compared to enterprise cloud solutions/services you can pay for that have small data retention or other limits. New Relic as an example is expensive if you want anything more than 30 days of data and they don't offer as much as I get with my own monitors.

I've been running this setup since 2015 or so, I've used this setup to improve my craft and professional skills. I work with Linux Servers every day.

[–] fluckx@lemmy.world 1 points 8 months ago

anything can output that even PHP.

That sounded pretty bitter.