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

  1. Start grafana with the follwing docker run command

      docker run --restart=always --name grafana -d -p 3000:3000 grafana/grafana
  2. Log in to Grafana at http://your_ip_address:3000 in your browser. The default Grafana login is admin/admin.

  3. 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

    Grafana data store File

  4. 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:

    Grafana Cluster Status File

    Grafana Volume Status File

    Grafana Node Status File

Last edited: Thursday, Nov 18, 2021