Use this dialog box to specify a script to run when an alert is triggered by a virtual server being added to a monitored cluster.
Note: You can associate a virtual server alert with a non-clustered resource, but the alert will not do anything. To use a Virtual Server Added alert, you must associate it with a cluster.
|
Field Name |
Description |
|
Script Name |
Enter the name of the script. |
|
Where to Run |
Select the agent where you want the script to run from the drop-down list. |
|
Script Parameters |
This section displays what parameters will be passed to the script when it is run. The parameters will be passed in the order specified.
|
Note: The Datae Manager agent checks to find out whether it is running in a cluster at the following times:
If the Microsoft Cluster service is started after the Data Manager agent, the agent will not be aware of the cluster, and any virtual server alerts you have defined cannot be triggered. This will occur until a manual or scheduled probe is run on one of the cluster nodes.
Running Scripts in response to an alert
When you define an alert, you can define a script to be run when the triggered condition is met.
Note: This script name is used to tell the server what script to send to the agent. If the script sent by the aerver is run by the agent, the name of the script will not be the name you specify in the Script Name field. Instead, the agent names the script as temporary file, runs it, then deletes it after the script has run. Because of this, you should not have code in your script that depends on this script name.
The Script Parameters section displays what parameters will be passed to the script when it is run. Each triggering condition passes different parameters. The parameters will be passed in the order specified on the dialog box.