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
modified findbad and findbadpcu to use scanapi. need to combine these files.
[monitor.git]
/
monitor
/
scanapi.py
diff --git
a/monitor/scanapi.py
b/monitor/scanapi.py
index
3e95ef2
..
4a00eef
100644
(file)
--- a/
monitor/scanapi.py
+++ b/
monitor/scanapi.py
@@
-342,7
+342,7
@@
class ScanNodeInternal(ScanInterface):
values['plc_node_stats'] = d_node
##### NMAP ###################
values['plc_node_stats'] = d_node
##### NMAP ###################
- (n, v) = collectNMAP(nodename, None)
+ (n, v) =
self.
collectNMAP(nodename, None)
values.update(v)
### GET PLC PCU ######################
values.update(v)
### GET PLC PCU ######################
@@
-376,7
+376,6
@@
class ScanNodeInternal(ScanInterface):
return (nodename, values)
return (nodename, values)
-
def internalprobe(hostname):
fbsync = FindbadNodeRecordSync.findby_or_create(hostname="global",
if_new_set={'round' : 1})
def internalprobe(hostname):
fbsync = FindbadNodeRecordSync.findby_or_create(hostname="global",
if_new_set={'round' : 1})