Grafana with Portworx
This document presents the non-Kubernetes method of monitoring your Portworx cluster with Grafana. Please refer to the Prometheus and Grafana page if you are running Portworx on Kubernetes.
Configure Grafana
Start grafana with the follwing docker run command
docker run --restart=always --name grafana -d -p 3000:3000 grafana/grafana
Log in to Grafana at
http://your_ip_address:3000
in your browser. The default Grafana login is admin/admin.Here, it will ask you to configure your datastore. Use the prometheus that you configured earlier. To use the templates that are provided later, name your datastore ‘prometheus’. In the screen below:
- Choose ‘Prometheus’ from the ‘Type’ dropdown.
- Name datastore ‘prometheus’
- Add URL of your prometheus UI under Http settings -> Url
- Select Save & Test
Import the Portworx provided Cluster, Volume, and Node Grafana templates: From the dropdown on left in your Grafana dashboard, select Dashboards followed by Import, and add the cluster, volume, and node templates.
Once added, you can view your dashboards:
Last edited: Sunday, Dec 6, 2020
Questions? Visit the Portworx forum.