Adding a Grafana Dashboard to monitor your nodes¶
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
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.
Change your password
Add your first data source
Rename it as prometheus (IOHK dashboard uses this name, this is useful if you want to import one of our dashboards)
Under HTTP, configure the data source
URL http://localhost:9090 Server
save and test
On the left panel open the Dashboards menu and go to manage:
You can create a New Dashboard from scratch or import one of IOHK’s dashboards. To import a dashboard, click on import
cardano-application-dashboard-v2.json from the cardano-ops repository
and paste the json under
Import via panel json
Enter to your dashboard, and after a few seconds you should see something like this.
From here you can configure alerts or change the views on your dashboard.