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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Configuring an action<br />

There are two aspects of fully configuring an action. First, you create the action itself in the<br />

Action Library dialog or through the Action Builder wizard. The setup consists of:<br />

Defining the target of the action (for example, a pager or email address)<br />

Entering the notification variables or program arguments (that specify what<br />

information to report in the action message, or to pass to another program).<br />

Next, you assign the action or action policy to a device or active monitor and to link it to a<br />

state change (action policies are already linked to a state change during the policy definition).<br />

For more information see:<br />

Assigning an action to a device (on page 296)<br />

Assigning an action to an active monitor (on page 297)<br />

Creating a custom action policy (on page 299)<br />

After the actions have been completely configured, <strong>WhatsUp</strong> <strong>Gold</strong> launches the action as<br />

soon as the proper state change is reached.<br />

Adding and editing an Active Script Action<br />

This action allows you to write either VBScript or JScript code to perform a customized action.<br />

If the script returns an error code, the action failed.<br />

To add or edit an active script action:<br />

1 Click the Admin tab, then click Action Library.<br />

2 Click New to create a new active script action, and then select Active Script Action<br />

from the list. Click OK.<br />

- or -<br />

From the list of current actions, select the action you want to change, and then click<br />

Edit.<br />

3 Type or select the appropriate information in the following fields.<br />

Name. Type a name for the action. This name displays in the Action Library.<br />

Description. Type a short description. This description displays next to the action in<br />

the Action Library.<br />

Timeout. The amount of time (in seconds) <strong>WhatsUp</strong> <strong>Gold</strong> should wait for the action<br />

script to run.<br />

Note: Though the maximum timeout is 60 seconds, you are highly discouraged from using a<br />

timeout longer than the default of 10 seconds. You are encouraged to use the shortest<br />

timeout possible.<br />

Script type. Select the scripting language that you want to use to write this active<br />

script (either VBScript or JScript).<br />

Script text. Write or insert your action code here.<br />

274

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

Saved successfully!

Ooh no, something went wrong!