Skip to main content

Monitoring a validator node


The monitoring wiki seems outdated; especially the described grafana templates don’t work. There is a project ongoing for updated templates. We made our own template which you can find here:

The monitoring setup exists of:

  • a monitoring instance which uses grafana, loki, node-exporter and alertmanager
  • validator nodes with promtail and node-exporter from which the data, including the build-in prometheus endpoint in polkadot/kusama is send to the monitoring node.


Setting up grafana

The wiki uses binaries but there is a apt repository available. To install the latest grafana server

sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O /usr/share/keyrings/grafana.key
echo "deb [signed-by=/usr/share/keyrings/grafana.key] stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server
sudo systemctl enable grafana-server.service

If you are running behind a proxy adjust grafana config:

vi /etc/grafana/grafana.ini
domain =
root_url = %(protocol)s://%(domain)s:%(http_port)s/grafana/
serve_from_sub_path = true