Skip to content

Instantly share code, notes, and snippets.

@ybizeul
Last active February 4, 2022 18:34
Show Gist options
  • Save ybizeul/f24c459ef8406ee5b95b7023ebebab25 to your computer and use it in GitHub Desktop.
Save ybizeul/f24c459ef8406ee5b95b7023ebebab25 to your computer and use it in GitHub Desktop.

Manually importing dashboards in NAbox 3.0.1

  • Log into NAbox with ssh, root/NetAppGrafanaVA is default credentials

  • Jump into netapp harvest container

dc exec nabox-harvest2
  • Change directory
cd /netapp-harvest
  • Run dashboard import, don't forget to answer question with "y"
./bin/grafana import -a $GRAFANA_SERVER -t `cat /secrets/harvest-grafana`
using API token from config
connected to Grafana server (version: 8.4.0-beta1)
8.4.0-beta1 does not satisfies constraints >= 7.1.0warning: current set of dashboards require Grafana version (7.1.0) or higher
continue anyway? [y/N]: y
folder [Harvest 2.0] exists in Grafana - OK
preparing to import 12 dashboards...
OK - imported [harvest_dashboard_aggregate.json]
OK - imported [harvest_dashboard_cluster.json]
OK - imported [harvest_dashboard_disk.json]
OK - imported [harvest_dashboard_metadata.json]
OK - imported [harvest_dashboard_network.json]
OK - imported [harvest_dashboard_node.json]
OK - imported [harvest_dashboard_nvme_fc.json]
OK - imported [harvest_dashboard_shelf.json]
OK - imported [harvest_dashboard_snapmirror.json]
OK - imported [harvest_dashboard_svm.json]
OK - imported [harvest_dashboard_volume.json]

exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment