Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Integrated Management - Manager Quick Reference


4.2.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. The following describes how to verify that an automated action that executes the action batch file (errortaisaku.bat) on the management server (Windows computer) is triggered when an event of severity level Error is issued.

Prerequisites

OS user mapping must be configured according to the procedure in 2.2.1 Using the user mapping feature to map a JP1 user account to an OS user account.

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