mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-05 05:07:59 +00:00
correct url in influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@ class RecordInflux(LFCliBase):
|
||||
client.write_points(json_body)
|
||||
|
||||
def getdata(self):
|
||||
url = 'http://192.168.1.32:8080/port/1/1/'
|
||||
url = 'http://'+self.host+':8080/port/1/1/'
|
||||
client = InfluxDBClient(self.host,
|
||||
8086,
|
||||
self.influx_user,
|
||||
|
||||
Reference in New Issue
Block a user