git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed 'import auth' statements to use plc.py or monitorconfig.py
[monitor.git]
/
findbad.py
diff --git
a/findbad.py
b/findbad.py
index
7efa52c
..
2b8fe00
100755
(executable)
--- a/
findbad.py
+++ b/
findbad.py
@@
-29,8
+29,7
@@
import syncplcdb
from nodequery import verify,query_to_dict,node_select
import traceback
import plc
from nodequery import verify,query_to_dict,node_select
import traceback
import plc
-import auth
-api = plc.PLC(auth.auth, auth.plc)
+api = plc.getAuthAPI()
def collectPingAndSSH(nodename, cohash):
### RUN PING ######################
def collectPingAndSSH(nodename, cohash):
### RUN PING ######################