The Active Script Monitors let 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 resources page.
Note: Please be aware that Ipswitch does not support the custom scripts that you create; only the ability to use them in the Active Script Monitor.
As an example, the DNS monitor is a simple service Monitor that checks for the DNS (Domain Name Server) on port 53. If no DNS service responds on this port, then the service is considered down.
To configure a DNS Monitor:
- or -
From the main menu of the console, select Configure > Active Monitor Library. The Active Monitor Library appears.
- or -
Select an existing Active Script Monitor, then click Edit. The monitor properties dialog appears.
Note: Though the maximum timeout is 60 seconds, you are highly discouraged from using a timeout longer than the default of 10 seconds. You are encouraged to use the shortest timeout possible.
This script monitor has a context object that you can use to poll for specific information about the device in context. For more information, see Using the Active Script Monitor context object.
We have provided several code samples for you to create useful active script monitors for your devices. For more information, see Examples: Active Script Monitor context code
All script features in WhatsUp Gold use the SNMP API. For more information, see Using the SNMP API.