Hi all. I just set-up my first self-hosting server with NextCloud, Immich and a VPN server. I was wondering if there is a tool or layer of tools which would help me monitor my server and the services including running stats, resource usage stats, system logs, access logs, etc?

I read that Grafana Loki along with Prometheus could possibly help me with this. I just wanted to ask that - should I explore these two tools or do we have some other and better(suiting to my needs) tools? Please recommend Open Source tools only. Preferably Docker, or Linux based otherwise. Thank you :))

      • VelociCatTurd@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        5 months ago

        -1 for Netdata. I used it for a bit, but the configuration is not very intuitive and the docs for alerts were basically “rest of the fucking owl”, at least for the non-cloud version. I ended up just switching to Glances which is pretty boneless but it’s easy.

        Though for OP I’d probably recommend Prometheus.

    • 7fb2adfb45bafcc01c80@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      I’m a big fan of netdata; it’s part of my standard deployment. I put in some custom configs depending on what services are running on what servers. If there’s an issue it sends me an email and posts into a slack channel.

      Next step is an influxdb backend to keep more history.

      I also use monit to restart certain services in certain situations.

  • Jeena@jemmy.jeena.net
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 months ago

    I like Uptime Kuma, but it only monitors if a service is online or not. I’m up to 21 services now so I’m not interested in all their details, just if I need to fix something urgently.

  • JASN_DE@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 months ago

    Grafana + Prometheus + data gathering will at least give you the resource and usage stats.

  • farcaller@fstab.sh
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    I’d swap Prometheus for VoctoriaMetrics. It’s a drop-in replacement with a much better resource consumption story and a few extra goodies.

    • dipak@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I’m a web-app developer myself. So I don’t mind configuring things if needed. I can opt to configure if it meets my goals better. I’d check out nagios. :))

      • Synestine@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        If you’re willing to go that route, check out Zabbix and Icinga2 as well. They’re compatible with Nagios checks but the user interface is better.

  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    Grafana + Prometheus dashboards can be quite addicting or useful. Noted.lol put together a nice tutorial for getting started.

    For most of my services though, I simply use Uptime Kuma which then sends an alert to Gotify when my services go down or whatnot, Gotify then instantly notifies my phone so I can be aware. It helps keep the spouse happy when their go to service for some reason crashed. :)