The Active Script monitor lets you write either VBScript or JScript code to perform specific customized checks on a device. If the script returns an error code, the monitor is considered down. A variety of Active Script resources are available on the Active Scripts Resource page.

注: Ipswitch does not support any custom scripts you create; only the ability to use them in the Active Script monitor. For more information, see Extending WhatsUp Gold with scripting.

To add a new Active Script active monitor:

    1. 网页界面进入管理 > 监控工具。此时会出现 “监控工具库” 对话框。
    2. 单击 “主动” 选项卡。此时会出现“主动监控工具”列表。
    3. 单击 “新建”。此时会出现 “选择主动监控工具类型” 对话框。
  1. Select Active Script Monitor, then click OK. The New Active Script Monitor dialog appears.
    1. 输入或选择适当信息:
    • Name. Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
    • Description. Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
    • Timeout.

      输入 尝试连接所选设备的时间长度。若超过您输入的时间后仍未连接,则发生超时并且 停止连接 SMTP 服务器。这被视为连接失败。

    • Script Type. Select either VBScript or JScript.
    • Use in rescan. Select this option to have the monitor appear in the Active Monitor list on the Device Properties dialog. adds the monitor type to the device during a rescan, which is launched using Rescan on the Device Properties dialog, if the protocol or service is active on the device.
    • Script text. Enter your monitor code here.
  2. 单击确定以保存更改。

  3. After configuring an active monitor in the Active Monitor Library, add the monitor to devices.

To edit an existing Active Script active monitor:

    1. 网页界面进入管理 > 监控工具。此时会出现 “监控工具库” 对话框。
    2. 单击 “主动” 选项卡。此时会出现“主动监控工具”列表。
    3. 选择要修改的监控工具,然后单击 “编辑”
    The Edit Active Script Monitor dialog appears.
    1. 输入或选择适当信息:
    • Name. Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
    • Description. Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
    • Timeout.

      输入 尝试连接所选设备的时间长度。若超过您输入的时间后仍未连接,则发生超时并且 停止连接 SMTP 服务器。这被视为连接失败。

    • Script Type. Select either VBScript or JScript.
    • Use in rescan. Select this option to have the monitor appear in the Active Monitor list on the Device Properties dialog. adds the monitor type to the device during a rescan, which is launched using Rescan on the Device Properties dialog, if the protocol or service is active on the device.
    • Script text. Enter your monitor code here.
  1. 单击确定以保存更改。