#Import dashboards - how?

1 messages · Page 1 of 1 (latest)

sharp maple
#

I've deployed a new instance of harvest, grafana, and influxdb and am currently trying to get the dashboards imported. The poller is running and I can browse the data through the influx UI, I just can't get the dashboards to import. Documentation on the import process is suprisingly sparse with little to no troubleshooting suggestions as well.

Using the following command:

/opt/harvest/bin/harvest grafana import -a grafana-server:3000 -t API-TOKEN -d /opt/harvest/grafana/dashboards/influxdb -o -s InfluxDB2_Flux -f ""
output I get is the following:

save API key for later use? [Y/n]: n
connected to Grafana server (version: 10.2.3)
preparing to import dashboards...```
and that's it.  No error messages, no logs that I can find and no dashboards imported into my grafana instance.  Same results if I tell it to save the API key for later use.  

Any guidance on troubleshooting would be appreciated.
#

I've also attempted the above command after creating a folder in grafana and referencing that in the -f parameter on the command - same result. No error messages and no log entries makes it incredibly difficult to troubleshoot.

winter ether
#

hi @sharp maple what version of Harvest are you using? looks like you're using Grafana 10.2.3. Grafana has made some changes in how they manage tokens. From Grafana's administration tab can you create a service account with at least the editor role. Then click the "Add service account token" button to create a new token. That token will work with Harvest's import.

bin/grafana import --addr http://localhost:3000 -t $token -d grafana/dashboards/influxdb -f Influx
using API token from config
save API key for later use? [Y/n]: n
connected to Grafana server (version: 10.2.3)
created Grafana folder [Influx] - OK
preparing to import dashboards...
OK - imported Influx / [aggregate.json]
OK - imported Influx / [cluster.json]
OK - imported Influx / [headroom.json]
OK - imported Influx / [metadata.json]
OK - imported Influx / [network.json]
OK - imported Influx / [shelf.json]
OK - imported Influx / [snapmirror.json]
OK - imported Influx / [svm.json]
Imported 8 dashboards to [Influx] from [grafana/dashboards/influxdb]
sharp maple
winter ether
undone stirrup
#

Any dashboard avaliablie for the Tiers storage perspective, showing Hot/Cold data usage

pale snow
#

@undone stirrup We don't have such dashboard available currently. Could you open a GitHub issue for this.