Mar 28, 2023

Manage dashboards - Grafana Dashboard Exporter/Importer

 Importing monitoring template from Grafana lab to grafana dashboard

Add custom Grafana dashboards:

You must have a Grafana account with admin rights to perform the steps described in this section.

To add a custom Grafana dashboard:

  • Login to Grafana and create a new dashboard.
  • Export your dashboard to json file. See Grafana documentation to find out how to do this.
  • Put the exported file under the grafana-dashboards/ folder.

Use below official website to download json file:

    node-exporter-full_rev30.json

Grafana Home --> Dash board --> Import --> Import Json file --> Upload Json file (node-exporter-full_rev30.json) --> choose Data source as Prometheus --> Import


















Manually I added load to one target machine which is configured here. You can use last 15 mins data and see the chnages.

-- cpu load
# while true; do /bin/true; done

-- memory load
# cat <( </dev/zero head -c 500m) <(sleep 120) | tail

So, the take away is, no need to create all dash boards manually. Many are already developed and available in grafana official website. Just use it with documentation.

Try to create your another dashboard using below json file:





No comments:

Post a Comment

Translate >>