Extending WhatsUp Gold with scripting
- Last Updated: September 11, 2023
- 4 minute read
This section explains how to use the native development tools included in WhatsUp Gold to extend the product beyond its stock capabilities with Active Script Active Monitors, Performance Monitors, and Actions.
WhatsUp Gold includes three types of Active Scripts, which allow you to write custom JScript and VBScript code to do tasks that WhatsUp Gold cannot natively perform.
- Active Script Active Monitors perform specific customized checks on a device. They report their status as a success or failure, and the monitor's status effects the device's status in the same way that stock active monitors do. For more information, see Scripting Active Monitors.
- Active Script Performance Monitors track specific values over time and can be used to generate logs and graphs of historical data. For more information, see Scripting Performance Monitors.
- Active Script Actions can be configured to trigger when an active monitor's state changes. They can be programmed to perform a variety of tasks, from running automated remediation scripts to posting data to external, third party services via API. For more information, see Scripting Actions.
About Active Script Languages
Active scripts can be written in JScript or VBScript. For more information on either of these languages, consult the MSDN Language Reference for that language.
- MSDN JScript User's Guide
- MSDN VBScript User's Guide
Please note, not all aspects of JScript and VBScript can be used in Active Scripts. In
general, any function or method that involves the user interface level, such as VBScript's
MsgBoxes or JScript's alert() , are not allowed.