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
-
In the Event Console window, click the Execute Command button. The Execute Command window appears.
-
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 () is displayed for the event that triggered the automated action.
-
-
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.
-
In the Action Log window, confirm that Ended is displayed in the Status column for the action shown in the Log list.
Related topics
-
2.1 Overview of the Event Console window in the manual GUI Reference
-
2.34 Action Log window in the manual GUI Reference
-
2.38 Execute Command window in the manual GUI Reference