mirror of
https://github.com/unpoller/dashboards.git
synced 2026-09-30 06:02:29 +02:00
Update
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# UniFi Poller Dashboards
|
||||
|
||||
...will end up here. Travis-CI will push them to Grafana.com.
|
||||
Dashboards for UniFi Poller live in this repo.
|
||||
|
||||
They are deployed to Grafana.com when a change to `master` is detected.
|
||||
|
||||
@@ -17,6 +17,7 @@ DASHMAP[10418]="UniFi-Poller_ Client Insights - InfluxDB.json"
|
||||
for i in ${!DASHMAP[@]}; do
|
||||
echo "curl -H \"Content-Type: multipart/form-data\" \
|
||||
https://grafana.com/api/dashboards/$i/revisions --form \"json=@${WHERE}${DASHMAP[$i]};type=application/json\""
|
||||
#curl -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${GRAFANA_API_KEY}" \
|
||||
#"https://grafana.com/api/dashboards/$i/revisions" --form "json=@${WHERE}${DASHMAP[$i]};type=application/json"
|
||||
|
||||
curl -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${GRAFANA_API_KEY}" \
|
||||
"https://grafana.com/api/dashboards/$i/revisions" --form "json=@${WHERE}${DASHMAP[$i]};type=application/json"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user