From: Stephen Soltesz Date: Tue, 13 May 2008 18:10:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: Monitor-1.0-4~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=976bb7e9697464dec3de37c86cad2d03f1fa4adb;p=monitor.git --- diff --git a/findbadpcu.py b/findbadpcu.py index ba3270d..2179d3e 100755 --- 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: