Skip to content

Grafana Configuration

grafana_logo
Once the Granafa installation is complete, there are two main tasks remaining:

  • Integration of Grafana with InfluxDB
  • Addition of the wiperf dashboards

Integration of Grafana with InfluxDB

Integration with InfluxDB is required to allow Grafana to send data queries to the InfluxDB database and turn the data in to graphical reports. To do this, Grafana needs to know:

  • the data source is an InfluxDB database
  • where it is (IP address & port)
  • the name of the database within Influx DB (as we previously configured)
  • the access credentials to be used to pull the data out of InfluxDB

The screen-shots below show the required steps:

  • Configuration > Data Sources > Add Data Source:

grafana_cfg1

  • Select InfluxDB:

grafana_cfg2

  • Enter the name to be referenced for the connection, the URL, database name, username & password (all highlighted below) - note the InfluxDB values use those configure previously when we set up InfluxDB (the datbase name, username & password settings must match those used in the InfluxDB setup):

grafana_cfg3

grafana_cfg4

Once completed, if you hit 'Save and Test', the database connection test should indicate success if all information has been correctly entered.

Adding Wiperf Dashboards

Dashboard xml files can be obtained from the /usr/share/wiperf/dashboards folder of the probe. These may be downloaded to your local laptop using a utlity such as SCP or SFTP. Alternatively, the dashboard files may be accessed in the main wiperf repo at : folder

Once the dashboard files have been downloaded, they may be imported to Grafana using the following steps:

  • Use the menu option Dashboards > Manage > Import:

grafana_dashboard1

  • Hit the 'Upload Json' button and select the dashboard file on your local laptop that you'd like to upload

grafana_dashboard2

  • The name of the imported report will be shown as indicated. If you'd like to create or select a folder, this can be done in the 'Folder' field. The database connection previously created as the data source must also be selected to ensure the InfluxDB database can be queried:

grafana_dashboard3

Once 'Import' is hit, the dashboard will be available in the main Grafana GUI.

To find out more about usng Grafana, visit the Grafana getting started pages.


Last update: July 13, 2020