diff --git a/clients/report_loadavg b/clients/report_loadavg index 0dd946e..c70c4d2 100755 --- a/clients/report_loadavg +++ b/clients/report_loadavg @@ -11,13 +11,13 @@ import requests hostname = socket.gethostbyaddr(socket.gethostname())[0] -baseurl = "http://127.0.0.1:5000/" def report_loadavg(): now = time.time() load = os.getloadavg() with open("config.json") as fh: client_config = json.load(fh) + baseurl = client_config["server"] while True: report = []