Hitachi

JP1 Version 12 Integrated Management: Getting Started


5.1.1 Using the automated action function to execute a command whenever an event is issued

You can use the automated action function to automatically execute commands. Set the definitions for automated actions in the Action Parameter Detailed Definitions window. Automated action definitions are the conditions by which automated actions are executed. In automated action definitions, you can also use variables to specify information included in events.

Prerequisites

The following conditions must be satisfied:

Procedure

  1. In the Event Console window, select Main Menu, Options, and then Automated Action Parameter Settings. The Action Parameter Definitions window appears.

  2. In the Action Parameter Definitions window, click the Add or Edit button. The Action Parameter Detailed Definitions window appears.

  3. In Condition, specify the settings for Event ID and Event Conditions to set events that trigger an automated action.

    In this example, specify the following to set events whose severity level is Error as trigger events:

    • Event ID: Select All IDs.

    • List box: Select Event level.

    • Specify directly: Select the Error check box.

      [Figure]

  4. In Action Definition, specify an automated action to be executed when an event specified in Condition occurs.

    In this example, enter the items as follows:

    • Execution user name: jp1admin

      Enter the JP1 user name of the system administrator who will execute the action.

    • Target host: admin

      Enter the host name of the management server on which the action is to be executed.

    • Action: C:\jp1im\errornotice.bat

      Enter the name of the batch file that is stored on the management server and sends notification of an error to the system administrator.

  5. In the Action Parameter Detailed Definitions window, click the OK button. The Action Parameter Definitions window appears.

  6. In the Action Parameter Definitions window, click the Apply button.

    The specified settings are updated.

Related topics