ManageEngine® SQLDBManager Plus Executing Program | ||
On the occurrence of an alarm, a specific program can be executed. To execute a program, follow these steps:
Select the New Action link from the top menu.
Click Execute Program from the Actions in the left frame and specify the following details:
Enter the display name for the action.
Enter the Program to be executed.
Enter the directory path from which the script should be executed.
The Abort after field is used to specify the timeout value for the program. Specify the time after which the program should be terminated.
Note: It is important to provide the required time for aborting the command execution since the alarm processing is held up by the program execution. That is, while executing the program, the command runs synchronously in the mail alarm processing thread. This will delay all the alarms, following the alarms being processed, until the program execution is completed or terminated. |
Click Create Action to finish. This will list the Execute Program action name and its details along with the other actions configured.
Click Add New for creating more actions or Delete (on selecting the respective action's check box) to delete the action.
After creating an execute program action, you can edit or execute that action. These two tasks can be performed from the "View Actions" page.
To edit the action, click the Edit icon .
You can also have a trial execution of the action. To do so, click the Execute icon
of that action.
Usages : Pointers to where you can use Execute Progam action
Integrate a .vbs script to be executed by writing a simple .bat file. With this you can restart a remote service, reboot a machine etc.
Execute custom actions like calling a python script or Java class etc.
Invoke a .wav file to make some alarm noise on the server
Execute a script on a remote server
Trigger actions like running sql job when the usage exceeds some threshold limit
Sending SMS |
Sending Trap |