diff --git a/app/python-node-exporter.py b/app/python-node-exporter.py index ab0bf88..3fc5694 100644 --- a/app/python-node-exporter.py +++ b/app/python-node-exporter.py @@ -420,11 +420,17 @@ def start_thread(target_func): return thread # start the threads -print("Probe thread: " + str(probe_thread = start_thread(ThreadProbe))) -print("Auth thread: " + str(auth_thread = start_thread(ZvmAuthHandler))) -print("Data thread: " + str(data_thread = start_thread(GetDataFunc))) -print("Stats thread: " + str(stats_thread = start_thread(GetStatsFunc))) -print("Webserver thread: " + str(webserver_thread = start_thread(WebServer))) +probe_thread = start_thread(ThreadProbe) +auth_thread = start_thread(ZvmAuthHandler) +data_thread = start_thread(GetDataFunc) +stats_thread = start_thread(GetStatsFunc) +webserver_thread = start_thread(WebServer) + +print("Probe thread: " + str(probe_thread)) +print("Auth thread: " + str(auth_thread)) +print("Data thread: " + str(data_thread)) +print("Stats thread: " + str(stats_thread)) +print("Webserver thread: " + str(webserver_thread)) # loop indefinitely while True: