Update
This commit is contained in:
parent
d28a08f5c3
commit
566136b528
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue