git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2001167
)
(no commit message)
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 13 May 2008 18:10:44 +0000
(18:10 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 13 May 2008 18:10:44 +0000
(18:10 +0000)
findbadpcu.py
patch
|
blob
|
history
diff --git
a/findbadpcu.py
b/findbadpcu.py
index
ba3270d
..
2179d3e
100755
(executable)
--- a/
findbadpcu.py
+++ b/
findbadpcu.py
@@
-190,6
+190,9
@@
def collectPingAndSSH(pcuname, cohash):
(oval,eval) = nmap.run_noexcept("nmap -oG - -P0 -p22,23,80,443,5869,16992 %s | grep Host:" % pcu_name(values))
# NOTE: an empty / error value for oval, will still work.
(values['portstatus'], continue_probe) = nmap_portstatus(oval)
+ else:
+ values['portstatus'] = None
+
###### DRY RUN ############################
if 'node_ids' in values and len(values['node_ids']) > 0: