ManageEngine® Applications Manager


Executing Program

<< Prev

Home

Next >>

Executing Program

 

On the occurrence of an alarm, a specific program can be executed. To execute a program, follow these steps:

  1. Select the New Action link from the top menu.

  2. Click Execute Program from the Actions in the left frame and specify the following details:

    1. Enter the display name for the action.

    2. Choose whether the program to be executed is from the local server or from a remote server.

    3. If the program is in a remote server, choose the Host Name from the list of existing servers or else you can add a new host.

    4. For configuring a new host, enter the following details - Host Name / IP Address, Mode of monitoring (Telnet/SSH), User Name and Password of the host, port number (Default Telnet port no: 23, SSH port no: 22) and then specify the command prompt value, which is the last character in your command prompt. Default value is $ and possible values are >, #, etc

    5. Enter the Program to be executed. Use the Upload Files/Binaries option to upload the script file .

    6. Enter the directory path from which the script should be executed.

    7. 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

  1. Click Create Action to finish. This will list the Execute Program action name and its details along with the other actions configured.

  2. 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.

Note: Passing arguments to custom scripts can be further enhanced by using Replaceable Tags.


Usages : Pointers to where you can use Execute Progam action

Note: Remote Windows Server is not supported

 

<< Prev

Home

Next >>

Sending SMS

Sending Trap