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

  • @zaphod@lemmy.ca
    link
    fedilink
    English
    211 year ago

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

  • @JoeKrogan@lemmy.world
    link
    fedilink
    English
    2
    edit-2
    1 year ago

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

  • qaz
    link
    fedilink
    English
    1
    edit-2
    1 year ago

    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
    5
    edit-2
    1 year ago

    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.

    • @thirdBreakfast@lemmy.world
      link
      fedilink
      English
      11 year ago

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

      • @sysadmin420@lemmy.world
        link
        fedilink
        English
        21 year ago

        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.

  • @Concave1142@lemmy.world
    link
    fedilink
    English
    81 year ago

    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.

  • Toes♀
    link
    fedilink
    English
    481 year ago

    My clients when they text me the server is down.

    • fatboy93
      link
      fedilink
      English
      221 year ago

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

      • @Passerby6497@lemmy.world
        link
        fedilink
        English
        41 year ago

        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.

  • CronyAkatsuki
    link
    fedilink
    English
    1
    edit-2
    1 year ago

    Used to not monitor at all, but after setting up crowdsec I got completeky into prometheus + grafana system resource and security monitiring on my dedicated hetzner server.

    I also keep uptime kuma on another cheap vps to monitor the states of websites directly for issues and I have seted up watchtower to send ntfy notifications on updates so I can know an update is the one fucking everything up.

    Recently also setup restuc backups so I made it so I also get backup health check logs as ntfy notifications on my phone, which really helps me keep everything runnig.

    What I really need to also do is create prometheus/grafana alerts for additional things to get notifications on my phone for them also ( like when crowdsec starts to randomly not get any more acqusitions, so I have to restart it. Once passed over a week before I looked at grafana and caught that ).

    Note: this is all a hoby, I also don’t host anything at home out of a couple reasons, most important being internet and hardware is expensive af here so it’s simply cheaper for me to play around with vps’s and hetzner dedicated servers.

  • @SorteKanin@feddit.dk
    link
    fedilink
    English
    4
    edit-2
    1 year ago

    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.

  • Dran
    link
    fedilink
    English
    61 year ago

    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.

    • @corsicanguppy@lemmy.ca
      link
      fedilink
      English
      2
      edit-2
      1 year ago

      +1 for check_mk.

      It’s got a scriptable config file that begs for automation like mgmtConfig and it does SNMP. For me, that’s it. SNMP->MQTT->SNMP next year.