Update python-node-exporter.py

This commit is contained in:
2023-03-08 18:40:41 -05:00
parent 6b7510b1ce
commit 9866be8dba
+11 -5
View File
@@ -420,11 +420,17 @@ def start_thread(target_func):
return thread return thread
# start the threads # start the threads
print("Probe thread: " + str(probe_thread = start_thread(ThreadProbe))) probe_thread = start_thread(ThreadProbe)
print("Auth thread: " + str(auth_thread = start_thread(ZvmAuthHandler))) auth_thread = start_thread(ZvmAuthHandler)
print("Data thread: " + str(data_thread = start_thread(GetDataFunc))) data_thread = start_thread(GetDataFunc)
print("Stats thread: " + str(stats_thread = start_thread(GetStatsFunc))) stats_thread = start_thread(GetStatsFunc)
print("Webserver thread: " + str(webserver_thread = start_thread(WebServer))) 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 # loop indefinitely
while True: while True: