Log inSign up

Monitoring and logs guides

Uptime checks, metrics, dashboards, alerting and log handling. 17 guides in this topic.

Netdata real-time monitoring

Install the Netdata Agent with its kickstart script, keep the port 19999 dashboard on localhost and read per-second charts through an SSH tunnel.

Uptime Kuma status page

Run Uptime Kuma in Docker on localhost, publish it with HTTPS through Caddy and check websites, ports and certificates with a public status page.

Prometheus and node_exporter

Install Prometheus and node_exporter from the official release binaries, run both under systemd and scrape remote servers over TLS with basic auth.

Grafana dashboards

Install Grafana from its official APT or RPM repository, bind it to localhost, publish it over HTTPS and provision a Prometheus data source with dashboards.

Zabbix monitoring

Install Zabbix 7.0 LTS server with MariaDB and Nginx from the official repository, then add agents on other servers with PSK encryption.

Nagios Core

Install Nagios Core 4 from Debian, Ubuntu or EPEL packages, reach the web interface through a tunnel or HTTPS login, and check remote hosts over SSH.

Beszel lightweight monitoring

Run the Beszel hub in Docker behind HTTPS, add a local agent through a socket and connect remote servers with a key and a narrow firewall rule.

Loki and Alloy for central logs

Collect journal and file logs with Grafana Alloy, store them in Loki on localhost and search them in Grafana; includes the move away from Promtail.

Cacti graphs with SNMP

Install Cacti and Spine from Ubuntu or Debian packages, tune MariaDB, reach the UI safely and graph remote servers with encrypted SNMPv3.

Monit for self-healing services

Let Monit watch processes, ports and disk space, restart a stuck service on its own and send a mail through an authenticated relay.

btop, htop and other live monitors

Read CPU, memory, disk and network activity in the terminal with btop, htop, glances, iotop and the classic top, and know what each number means.

Central logs with rsyslog

Turn one VPS into a log collector with rsyslog, forward every other server to it over TCP or TLS, and store each host in its own folder.

Rotate logs with logrotate

Write logrotate rules for your own apps, pick daily or size based rotation, compress old files and test every rule with a dry run first.

Read logs with journalctl

Filter the systemd journal by service, boot, time and priority, follow logs live, keep them across reboots and cap the space they use.

Graylog log management

Install Graylog with MongoDB and the Graylog Data Node, keep the web interface on localhost or behind HTTPS, and send syslog from your servers.

Observium network monitoring

Install Observium Community Edition with Apache, PHP and MariaDB, poll servers and network gear over SNMP and keep the web interface private.

Vector log and metrics pipeline

Collect journal logs and host metrics with Vector, reshape them with VRL, and ship them to files, Prometheus or a central Vector over TLS.