16.01.2013 Views

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ipswitch</strong> <strong>WhatsUp</strong> <strong>Gold</strong> <strong>User</strong> <strong>Guide</strong><br />

Note: Not all aspects of JScript and VBScript can be used in Active Scripts. In general, any<br />

function or method that involves the user interface level, such as VBScript's MsgBox or<br />

JScript's alert(), are not allowed.<br />

Scripting Active Monitors<br />

Active Script Active Monitors perform specific customized checks on a device. They report<br />

their status as a success or failure, and the monitor's status effects the device's status in the<br />

same way that stock active monitors do.<br />

Keep In Mind<br />

You need to include error handling in your monitor script. You must use<br />

Context.SetResult to report the status of the script to <strong>WhatsUp</strong> <strong>Gold</strong>.<br />

Errors from this active monitor appear in EventViewer.exe.<br />

910

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!