mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-05 16:53:14 -04:00
Update python-node-exporter.py
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user