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

  • Caaaaarrrrlll@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    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.