Template

Monitoring Server

Prometheus, Node Exporter and Grafana in Docker, collecting and charting this server's metrics.

What you get

Docker with Compose, then Prometheus, Node Exporter and Grafana running from /opt/iap-monitoring. Prometheus keeps 15 days of this server's metrics and Grafana uses Prometheus as its data source. All three listen on 127.0.0.1 only. The Grafana administrator password is generated on the server, readable only by root, and never sent to the platform.

This template has no options.

What happens

  1. Update Packages.
  2. Install Docker, with Compose.
  3. Start Monitoring Stack.

After the run

Reach Grafana through an SSH tunnel, or put a reverse proxy with your own domain in front of http://127.0.0.1:3000. The Start Monitoring Stack page shows the tunnel command and where to read the password.

This stack watches the server it runs on. The platform's own Monitoring watches your sites and servers from outside and alerts you; the two work side by side.

Common problems

  • Port 3000, 9090 or 9100 is in use — another Grafana, Prometheus or exporter is already running. See Start Monitoring Stack.
  • Docker's packages would replace the distribution's containerd — see Install Docker.