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.

Extending <strong>WhatsUp</strong> <strong>Gold</strong> with custom<br />

scripting<br />

In This Chapter<br />

Extending <strong>WhatsUp</strong> <strong>Gold</strong> with scripting.................................................. 909<br />

Scripting Active Monitors .............................................................................. 910<br />

Scripting Performance Monitors ................................................................. 926<br />

Scripting Actions ............................................................................................... 936<br />

Using the SNMP API ......................................................................................... 942<br />

Extending <strong>WhatsUp</strong> <strong>Gold</strong> with scripting<br />

This section explains how to use the native development tools included in <strong>WhatsUp</strong> <strong>Gold</strong> to<br />

extend the product beyond its stock capabilities with Active Script Active Monitors,<br />

Performance Monitors, and Actions.<br />

<strong>WhatsUp</strong> <strong>Gold</strong> includes three types of Active Scripts, which allow you to write custom JScript<br />

and VBScript code to do tasks that <strong>WhatsUp</strong> <strong>Gold</strong> cannot natively perform.<br />

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

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

status in the same way that stock active monitors do. For more information, see<br />

Scripting Active Monitors (on page 910).<br />

Active Script Performance Monitors track specific values over time and can be used<br />

to generate logs and graphs of historical data. For more information, see Scripting<br />

Performance Monitors (on page 926).<br />

Active Script Actions can be configured to trigger when an active monitor's state<br />

changes. They can be programmed to perform a variety of tasks, from running<br />

automated remediation scripts to posting data to external, third party services via<br />

API. For more information, see Scripting Actions (on page 936).<br />

About Active Script languages<br />

Active scripts can be written in JScript or VBScript. For more information on either of these<br />

languages, consult the MSDN Language Reference for that language.<br />

MSDN JScript <strong>User</strong>'s <strong>Guide</strong> (http://www.whatsupgold.com/msdnjscript)<br />

MSDN VBScript <strong>User</strong>'s <strong>Guide</strong> (http://www.whatsupgold.com/msdnvbscript)<br />

909

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

Saved successfully!

Ooh no, something went wrong!