HOST="$1"
PORT="$2"
while true; do
	nmap -p "$PORT" "$HOST" | grep open || xmessage "$HOST:$PORT is down"
	sleep 60
done
