ping timeout added

This commit is contained in:
Sven Holz
2022-06-20 17:06:18 +02:00
parent 7ed91947ab
commit 21e5627d58

View File

@@ -137,7 +137,8 @@ def main():
host_location = os.getenv('TARGET_LOCATION', 'unknown')
# Create Thread
print("Creating thread for: %s, with interval: %s and location: %s" % (host, host_timeout, host_timer, host_location))
print("Creating thread for: %s, with timeout: %s, with interval: %s and location: %s" % (
host, host_timeout, host_timer, host_location))
thread = ThreadPing(MyDB, host, host_timeout, host_timer, host_location)
my_threads.append(thread)
thread.start()