Active Script Action

This action allows you to write either VBScript or JScript code to perform a customized action. If the script returns an error code, the action failed. This script has a context object you can use to get specific information about the context of the action. We have provided several code samples for you to create useful script actions for your devices. All script features in WhatsUp Gold utilize the SNMP API.

Configure the following:

Caution: Using percent variables in Script Text can be parsed by the Script Text interpreter literally and break your script.

Tip: To check the status of an action or to cancel an action, in the WhatsUp Gold console go to Tools > Running Actions.

See Also

Built-in Action Types

Beeper Action

Configuration Management Action

Create ServiceNow Incident Action

E-mail Action

Log to File Action

OpsGenie Alert Management Action

Pager Action

Post To IFTTT Action

Post To MS Teams Action

Post To Slack Action

PowerShell Script Action

Program Action

SMS Action

SMS Direct action

SNMP Set Action

SSH Action

Service Restart Action

Sound Action

Syslog action

Text to Speech Action

Vmware Action

Web Alarm Action

Windows Event Log Action

Select Action and State

Select a State Change