- Is the Cisco MARS mission going to abort?
- First iPhone worm spreads Rick Astley wallpaper
- 10 stunning 3D buildings made with Google SketchUp
- Open source software ready for big business
- Four reasons to buy (and one reason to avoid) the Droid
Repetitious work is aggravating. If you ever have to do something such as transfer files on a regular basis from a Windows server to another server using FTP, you most likely will have come to grips with scripting FTP sessions. Here's one we threw together to send the report from our weather station connected to our internal Windows 2000 Server to our external Web server:
open www.ourserver.com
gearhead
secret
cd web/weather
cd e:\inetpub\ftproot\weather
put myweather.htm
bye
quit
We use this with the command "ftp -s:e:\ftpscript.txt." Great! But the weather station updates the report every 5 minutes. We could leave a batch script looping - pretty much guaranteed to barf within a few hours - or use the Windows Task Scheduler, which only allows a minimum repeat interval of 24 hours (unless you want to schedule multiple jobs), but the chances of trying to transfer a locked file (resulting in another barf) are high.
We needed a better way. Our ideal solution was to trigger the FTP job by the weather station report being updated. We found our solution in the shape of OpalisRobot from Opalis Software.
OpalisRobot is awesome. It consists of a server component and a client component - the latter can run on any machine, including the one hosting the server.
Using the client, you graphically construct a process flow by dragging "objects" from a palette into a workspace and linking them. The starting point can be a scheduled trigger or an event.
So we dragged a Monitor File Event icon from the File Management objects group into our workspace. We filled in the file- name and location attributes, and specified the event to watch for was the file changing (we also could trigger on file deletion, access, attribute change, etc.).
Next we dragged over a Run Program Task object and filled in the details of the program to run and the arguments to use. Once objects are configured in the workspace, they can be linked by clicking and dragging from one object to another.
It works great! Every time there's a file update the FTP utility kicks in and transfers the report to our Web server. Perfect! Then we thought: Let's test to see if we can ping our Web server (our DSL connection has become flaky and dies regularly, taking out our DSL modem and router.
Partner Content
Blue Stripe Software
www.bluestripe.com/
Improving Application Performance Troubleshooting
Diagnosing why an application is slow is hard, at times taking days or weeks to isolate and resolve. This paper explains the challenges involved using current management tools, provides a 'wish list' for application management and analysis, and explains the need for an application system-wide approach that monitors entire applications, not components.
Download Whitepaper
Virtual Vigilance: Managing Application Performance in Virtual Environments
This paper highlights the impact of virtualization on application performance. "Managing Application Performance in Virtual Environments" states: "Best-in-Class organizations are predominately taking actions around improving visibility across both physical and virtual systems, assessing the business impact of application performance and understanding interdependencies of applications in virtualized environments."
Download Whitepaper
Application Service Requests: The Missing Link for Pragmatic ITSM
Forrester Research analyst Glenn O'Donnell and BlueStripe co-founder Vic Nyman discuss a breakthrough approach to application problem management. Learn the new approach for ITSM problem management, which provides: Rapid isolation of application slow-downs to specific components for quick problem resolution, 24/7 monitoring for proactive notification of potential issues before end users are impacted and much more.
Register for Webcast
Comment