Whats the best way to debug my script?
First, utilize the Active Monitor and Action Libraries to test your script. You can get instant feedback on changes you make to your script and easily identify errors in script syntax or during script runtime. Also, make use of the LogMessage method of the Context object. Text passed to this method will be output to the Test window when testing a script and will be output to the WhatsUp Gold event viewer, NmEventViewer when a monitor or action is triggered by the WhatsUp Polling Engine service.