more debugging
All checks were successful
/ Plan (push) Successful in 45s

This commit is contained in:
Dan Hamik 2024-11-26 12:54:17 -06:00
parent 42b91cbf72
commit 619a56ebc1

View File

@ -24,6 +24,7 @@ while(True):
for ip in pingaddresses:
print(ip)
response = sp.getstatusoutput(f"/usr/bin/ping -c 1 {ip}")
print(response)
if(response[0]!=0):
time=2000
else: