ping timeout added
This commit is contained in:
@@ -137,8 +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_timer, host_location))
|
||||
thread = ThreadPing(MyDB, host, host_timer, host_location)
|
||||
print("Creating thread for: %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()
|
||||
|
||||
@@ -163,7 +163,7 @@ def main():
|
||||
host_location = config.get('hosts_location', key, fallback="unknown")
|
||||
|
||||
# Create Thread
|
||||
print("Creating thread for: %s, with interval: %s and location: %s" %(host, 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()
|
||||
|
||||
Reference in New Issue
Block a user