Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Administration Guide


8.2.2 Checking the execution results of automated actions

You can check the execution results of automated actions in the Action Log window or List of Action Results window of JP1/IM - View. You can also check the execution results by using the jcashowa command.

In the Action Log window and List of Action Results window, you can also perform operations such as displaying action details and re-executing actions, in addition to checking execution results. The figure below shows the window transitions and operations related to automated actions.

Figure 8‒1: Window transitions and operations related to automated actions

[Figure]

Operations are divided into those that display detailed information about action execution results and those for repeating an operation (re-execution or cancellation) on action execution results.

The procedures for checking the execution results and for repeating an operation (re-execution or cancellation) follow.

Organization of this subsection

(1) Checking the execution results of automated actions

You can check the execution results of automated actions in the Action Log window or List of Action Results window, or by using the jcashowa command.

(a) Checking the execution results in the Action Log window

In the Action Log window, you can display the execution results of automated actions that were set for the events selected from the events list in the Event Console window.

To check the execution results in the Action Log window:

  1. From the events list in the Event Console window, select an event for which the action icon is displayed in the Action column.

  2. Using one of the following methods, open the Action Log window:

    • From the menu bar, choose View and then Action Log.

    • From the popup menu, choose Action Log.

    • Click the Action Log button.

    The Action Log window opens.

    The Action Log window displays the selected event IDs and the execution results of the automated actions that are specified for those event IDs.

  3. To view the details of the execution result of each automated action, or to view the details about the automated action that became a trigger for suppressing an action, open the Action Log Details window.

    To view the execution results of an automated action:

    • From Log, select an automated action and click the Details button.

    • Double-click an automated action displayed in Log.

    To view the automated action that became a suppression trigger:

    • From Log, select an automated action that is suppressed, and click the Suppress Trigger Details button.

    The Action Log Details window opens.

    This window displays the execution results and the message that was issued. For details about the execution results that are displayed, see 3.37 Action Log Details window in the manual JP1/Integrated Management 2 - Manager GUI Reference.

If the Related Events window is open, you can open the Action Log window by selecting an event that has the action icon attached and then choosing Action Log from the popup menu. If the Event Details window is open, you can open the Action Log window by clicking the Action Log button.

(b) Checking the execution results in the List of Action Results window

In the List of Action Results window, you can display the execution results of automated actions that were set by the logged-in manager. Set the condition for the automated actions to be displayed in the Conditions for Updating List of Action Results window.

To check the execution results in the List of Action Results window:

  1. From the Event Console window, choose View and then List of Action Results.

    The List of Action Results window opens.

    From among the automated actions that were set by the logged-in manager, the List of Action Results window displays a list of those execution results for automated actions that satisfy the condition specified in the Conditions for Updating List of Action Results window.

  2. To change the condition for displaying the execution results of automated actions, click the Update Settings button.

    The Conditions for Updating List of Action Results window opens.

    In this window, you can specify an updating method (automatic update or manual update) and an action result acquisition range, as well as a display item count and display condition to be used during updating. For details, see 3.39 Conditions for Updating List of Action Results window in the manual JP1/Integrated Management 2 - Manager GUI Reference.

  3. To update the display content of the execution results of automated actions according to an updated condition, click the Update button.

    The display content is updated according to the content that is specified in the Conditions for Updating List of Action Results window.

  4. To display the execution results of automated actions that occurred before the automated actions currently listed, click the [Figure] icon. To display the execution results of automated actions that occurred after the automated actions currently listed, click the [Figure] icon. To re-display execution results according to the updating condition that is specified in the Conditions for Updating List of Action Results window, click the [Figure] icon.

  5. To view the details of the execution result of each automated action, or to view the details about the automated action that became a trigger for suppressing an action, use one of the following methods to open the Action Log Details window:

    To view the details of the execution result of each automated action:

    • From Log, select an automated action and then click the Details button.

    • Double-click an automated action displayed in Log.

    To view the automated action that became a suppression trigger:

    • From Log, select an automated action that is suppressed, and then click the Suppress Trigger Details button.

    The Action Log Details window opens.

    This window displays the execution result and the message that has been issued. For details about the execution results to be displayed, see 3.37 Action Log Details window in the manual JP1/Integrated Management 2 - Manager GUI Reference.

  6. To display the JP1 event that triggered execution of the automated action, from Log, select an automated action, and then click the Target Event Search button.

    An event search is executed and the Search Events page of the Event Console window displays the JP1 event that triggered execution of the automated action.

(c) Using the jcashowa command to check execution results

You can use the jcashowa command to display the execution results of automated actions. When executed, the jcashowa command displays the results of executed automated actions that are stored in the action information file. Use the jcashowa command in an environment in which JP1/IM - View is not used, or when you want to output the execution results of automated actions to a file.

A command execution example follows. To display the execution results of automated actions that were taken for JP1 events received between 16:00 and 17:00 on July 1, enter the following from the manager:

jcashowa -d 07/01/16:00,07/01/17:00

For details about the jcashowa command syntax and the execution result display method, see jcashowa (in Chapter 1. Commands) in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

(2) Canceling automated actions

When an automated action is in one of the following statuses, you can cancel that automated action:

You can cancel an automated action in the Action Log window, List of Action Results window, Action Log Details window, or by using the jcacancel command. To use one of these windows to cancel an automated action, you need JP1_Console_Admin permission or JP1_Console_Operator permission. In addition, when the reference and operation permissions are set for a business group, operations in the Event-Information Mapping Definitions window might not be possible depending on the combination of JP1 resource group and JP1 permission level. For details, see 4.1.4(2) Assigning a JP1 resource group and permission level to a JP1 user in the JP1/Integrated Management 2 - Manager Overview and System Design Guide.

(a) Canceling an automated action from the Action Log window or List of Action Results window

To cancel an automated action from the Action Log window or List of Action Results window:

  1. Open the Action Log window or List of Action Results window.

    For details about how to open windows, see 8.2.2(1) Checking the execution results of automated actions.

  2. Select the automated action you want to cancel.

  3. Click the Cancel Action button.

    The cancellation confirmation dialog box opens.

  4. Click OK.

    The request to cancel the selected automated action is accepted.

  5. To check the status following the cancellation, click the Update button.

(b) Canceling an automated action from the Action Log Details window

To cancel an automated action from the Action Log Details window:

  1. Open the Action Log Details window.

    For details about how to open windows, see 8.2.2(1) Checking the execution results of automated actions.

  2. Click the Cancel Action button.

    The cancellation confirmation dialog box opens.

  3. Click OK.

    The request to cancel the selected automated action is accepted.

  4. To check the status following the cancellation, click the Close button and return to the Action Log window or List of Action Results window, and then click the Update button.

(c) Using the jcacancel command to cancel automated actions

You can use the jcacancel command to cancel automated actions. Use this command when you want to cancel automated actions in batches by host or system. Before executing the jcacancel command to cancel automated actions, confirm which automated actions will be canceled. For details about the confirmation method, see 8.2.2(1) Checking the execution results of automated actions.

A command execution example follows. To cancel all automated actions that are queued or running on host01 in a single batch, enter the following from the manager:

jcacancel -s host01

For details about the jcacancel command syntax and the execution result display method, see jcacancel (in Chapter 1. Commands) in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

(3) Re-executing an automated action

When an automated action is in one of the following statuses listed, you can re-execute that automated action:

You can re-execute an automated action from the Action Log window, List of Action Results window, or Action Log Details window. To use one of these windows to re-execute an automated action, you need JP1_Console_Admin permission or JP1_Console_Operator permission.

In addition, when the reference and operation permissions are set for a business group, operations in the Event-Information Mapping Definitions window might not be possible depending on the combination of JP1 resource group and JP1 permission level. For details, see 4.1.4(2) Assigning a JP1 resource group and permission level to a JP1 user in the JP1/Integrated Management 2 - Manager Overview and System Design Guide.

(a) Re-executing an automated action from the Action Log window or List of Action Results window

To re-execute an automated action from the Action Log window or List of Action Results window:

  1. Open the Action Log window or List of Action Results window.

    For details about how to open windows, see 8.2.2(1) Checking the execution results of automated actions.

  2. Select the automated action you want to re-execute.

  3. Click the Re-execute button.

    The re-execution request confirmation dialog box opens.

  4. Click OK.

    The request to re-execute the selected automated action has been accepted.

  5. To check the status following the re-execution, click the Update button to update the List of Action Results window.

(b) Re-executing an automated action from the Action Log Details window

To re-execute an automated action from the Action Log Details window:

  1. Open the Action Log Details window.

    For details about how to open windows, see 8.2.2(1) Checking the execution results of automated actions.

  2. Click the Re-execute button.

    The re-execution request confirmation dialog box opens.

  3. Click OK.

    The request to re-execute the selected automated action has been accepted.

  4. To check the status following the re-execution, click the Close button to return to the Action Log window or the List of Action Results window, and then click the Update button.