From 3a35af3dbb8e2345fa7dc31bade115d794309349 Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Thu, 9 Sep 2021 20:29:59 -0400 Subject: [PATCH] chnages --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 8f9ec74..309c0a0 100644 --- a/main.py +++ b/main.py @@ -6,18 +6,21 @@ import os # hostList = os.environ["hosts"] # hostList = hostList.split(",") -# dev + +# host hostList = ['10.0.5.2', '10.0.5.181'] test = [] ## pull all the UPSes froom each host for host in hostList: + input(host) client = PyNUTClient(host, '3493') for UPS in client.list_ups(): test.append(str(UPS)) print(test) + # client = PyNUTClient('10.0.5.2', '3493') # print(client.list_ups())