I’m deploying my NodeJS app + Postgres + Redis in an Ubuntu VPS. Postgres + Redis is running in Docker, whole app is behind an Nginx proxy.

Currently, to monitor, I use a mix of htop (to check server health), docker stats, tail nginx log.

Please recommend me a better way to monitor this (pulling all log & metrics into 1 source and show dashboard like Grafana or something). I just want simple stats like nginx log, CPU &RAM load… Fancier metrics like Redis cache hit/miss rate, slow queries in Postgres is a bonus too.

Asked in self-host because most cloud options have those dashboard & log already.

  • WankelWanka@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Zabbix for up/down and performance monitoring/alerting. Can use snmp or their agent to extract info. It can apparently do syslog as well but haven’t figured it out yet so instead I’m using openobserve.

    Potentially could pull data from Zabbix and openobserve into grafana for dashboards.