update influxdb host
This commit is contained in:
parent
12d71258cf
commit
a8d32930ba
|
@ -36,5 +36,5 @@ doc.css('.roomoverview tr').each do |row|
|
|||
end
|
||||
end
|
||||
|
||||
db = InfluxDB::Client.new(url: "http://grafana.hq.c3d2.de:8086/iot")
|
||||
db = InfluxDB::Client.new(url: "http://grafana.serv.zentralwerk.dn42:8086/iot")
|
||||
db.write_points points, 'm'
|
||||
|
|
|
@ -91,5 +91,5 @@ data['data']['bmxd']['links'].each do |link|
|
|||
})
|
||||
end
|
||||
|
||||
db = InfluxDB::Client.new(url: "http://grafana.hq.c3d2.de:8086/freifunk")
|
||||
db = InfluxDB::Client.new(url: "http://grafana.serv.zentralwerk.dn42:8086/freifunk")
|
||||
db.write_points $points
|
||||
|
|
|
@ -39,6 +39,7 @@ data.each do |d|
|
|||
})
|
||||
end
|
||||
end
|
||||
pp points
|
||||
|
||||
db = InfluxDB::Client.new(url: "http://grafana.hq.c3d2.de:8086/luftdaten")
|
||||
db = InfluxDB::Client.new(url: "http://grafana.serv.zentralwerk.dn42:8086/luftdaten")
|
||||
db.write_points points, TIME_PRECISION
|
||||
|
|
|
@ -31,5 +31,5 @@ data.each do |d|
|
|||
})
|
||||
end
|
||||
|
||||
db = InfluxDB::Client.new(url: "http://grafana.hq.c3d2.de:8086/matemat")
|
||||
db = InfluxDB::Client.new(url: "http://grafana.serv.zentralwerk.dn42:8086/matemat")
|
||||
db.write_points(points, 'm')
|
||||
|
|
|
@ -43,7 +43,7 @@ end
|
|||
paper_supply = scrape_paper_supply
|
||||
consumables = scrape_consumables
|
||||
|
||||
db = InfluxDB::Client.new(url: "http://grafana.hq.c3d2.de:8086/drucker")
|
||||
db = InfluxDB::Client.new(url: "http://grafana.serv.zentralwerk.dn42:8086/drucker")
|
||||
db.write_points [ {
|
||||
series: "paper_supply",
|
||||
tags: { host: HOST },
|
||||
|
|
Loading…
Reference in New Issue