Adding a Grafana Dashboard to monitor your nodes

Install grafana

Download and install Grafana on your local machine or in your monitoring server: Grafana

The Grafana backend has a number of configuration options defined in its config file (usually located at /etc/grafana/grafana.ini on linux systems). Grafana uses port 3000 as default, change it if needed and make sure to configure your firewall accordingly.

Edit grafana.ini For example:

sudo nano /etc/grafana/grafana.ini

Grafana configuration options

Start Grafana-server with

sudo /bin/systemctl start grafana-server

Configuring your dashboard

On your local machine you can now go to a.b.c.d:3000

You will see this, default user and password are admin/admin.

Welcome

Change your password

Password

Add your first data source

DataSource

Select Prometheus

Prometheus

Rename it as prometheus (IOHK dashboard uses this name, this is useful if you want to import one of our dashboards)

prometheus

Under HTTP, configure the data source

URL http://localhost:9090
Server

Click on save and test

On the left panel open the Dashboards menu and go to manage:

Dashboard

You can create a New Dashboard from scratch or import one of IOHK’s dashboards. To import a dashboard, click on import

Copy cardano-application-dashboard-v2.json from the cardano-ops repository

and paste the json under Import via panel json

Dashboard

Enter to your dashboard, and after a few seconds you should see something like this.

Dashboard

From here you can configure alerts or change the views on your dashboard.