Adding and editing an Active Script Active Monitor
- Last Updated: September 11, 2023
- 6 minute read
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:
-
- Web インターフェイスで、[管理者] > [モニタ] に移動します。[モニタライブラリ] ダイアログが表示されます。
- [アクティブ] タブをクリックします。[アクティブモニタ] リストが表示されます。
- [新規] をクリックします。[アクティブモニタの種類の選択] ダイアログが表示されます。
- Select Active Script Monitor, then click OK. The New Active Script Monitor dialog appears.
-
- 適切な情報を入力するか、選択します。
- 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.
-
[OK] をクリックして、変更を保存します。
-
After configuring an active monitor in the Active Monitor Library, add the monitor to devices.
To edit an existing Active Script active monitor:
- Web インターフェイスで、[管理者] > [モニタ] に移動します。[モニタライブラリ] ダイアログが表示されます。
- [アクティブ] タブをクリックします。[アクティブモニタ] リストが表示されます。
- 編集するモニタを選択し、[編集] をクリックします。
-
- 適切な情報を入力するか、選択します。
- 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.
-
[OK] をクリックして、変更を保存します。