mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-04 16:33:14 -04:00
Update python-node-exporter.py
This commit is contained in:
@@ -386,10 +386,13 @@ while True:
|
|||||||
# check if any thread has crashed
|
# check if any thread has crashed
|
||||||
if not auth_thread.is_alive():
|
if not auth_thread.is_alive():
|
||||||
# restart the thread
|
# restart the thread
|
||||||
|
print("Starting ZvmAuthHandler Thread")
|
||||||
auth_thread = start_thread(ZvmAuthHandler)
|
auth_thread = start_thread(ZvmAuthHandler)
|
||||||
if not data_thread.is_alive():
|
if not data_thread.is_alive():
|
||||||
# restart the thread
|
# restart the thread
|
||||||
|
print("Starting GetDataFunc Thread")
|
||||||
data_thread = start_thread(GetDataFunc)
|
data_thread = start_thread(GetDataFunc)
|
||||||
if not stats_thread.is_alive():
|
if not stats_thread.is_alive():
|
||||||
# restart the thread
|
# restart the thread
|
||||||
|
print("Starting GetStatsFunc Thread")
|
||||||
stats_thread = start_thread(GetStatsFunc)
|
stats_thread = start_thread(GetStatsFunc)
|
||||||
|
|||||||
Reference in New Issue
Block a user