Execute Program Action(s)

Introduction

This section is common to all the editions of IT360 - Professional Edition, Enterprise Edition [Probes only] and MSP Edition [Probes only].

On the occurrence of an alarm, a specific program can be executed.

Steps to Execute a Program

  1. Login to IT360 console with the Username and Password of an Admin user.

  2. Click the Admin tab in the header pane.

  3. Click Actions under Alarms.

  4. Choose Servers & Applications from the Actions profiles for dropdown. The Action Profile Configuration wizard is displayed.

  5. Click the Add New link under Execute Program Action(s). The Create Action : Execute Program page is displayed. 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 execute. Use the Upload Files/Binaries option, to upload the script file.

  6. Enter the Directory to execute Program, 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 alert processing is held up by the program execution. That is, while executing the program, the command runs synchronously in the mail alert processing thread. This will delay all the alerts, following the alerts 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, in the 'View Actions' page.

You can perform the below tasks from the Action Profile Configuration wizard:

    1. Edit the action, by clicking the icon against the required Execute Program Action.

    2. You can click Add New, for creating more actions.

    3. You can have a trial execution of the action. To do so, click the Execute icon , of that action.

    4. You can delete the action, by clicking the Delete link. (After selecting the respective action's check box).

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

Usages : Pointers to where you can use the Execute Progam action.

Top



Copyright © 2014, ZOHO Corp. All Rights Reserved.