Hitachi

JP1 Version 12 Integrated Management: Getting Started


5.1.2 Verifying that a command specified as an automated action was executed

After you have finished specifying the automated action, check whether the command was executed according to your specifications. This subsection describes how to verify that the automated action for executing the batch file errornotice.bat to send an error notification to the management server (a Windows machine) is executed when an event whose severity level is Error is issued.

Prerequisites

OS user mapping must be configured according to the procedure in 3.2.1 Configuring user mapping.

Procedure

  1. In the Event Console window, click the Execute Command button. The Execute Command window appears.

  2. Set the items in the Execute Command window as described below, and then click the Execute button.

    Item

    Setting

    Command type

    Select Command of managed host.

    Event information to inherit

    Clear the Inherit event information check box.

    Target host

    Enter the following:

    hostA

    Command

    Enter the following:

    • In Windows:

      "Base-path\bin\jevsend" -e SEVERITY=Error

    • In Linux:

      /opt/jp1base/bin/jevsend -e SEVERITY=Error

    An event of severity level Error is issued on host A.

    In the Action column in the event list, an executed action icon ([Figure]) is displayed for the event that triggered the automated action.

  3. In the Event Console window, select the event issued in step 2. To display the Action Log window, select View, and then select Action Log.

  4. In the Action Log window, confirm that Ended is displayed in the Status column for the action shown in the Log list.

Related topics