Hitachi

JP1 Version 13 JP1/Automatic Operation Service Template Reference


4.8.3 Get JP1 event

Function

Information about JP1 events registered in the integrated monitoring database is output to a specified file in CSV format, for a specified server's JP1/IM - Manager over a specified period. The output format of the file is the same as the output result of JP1/IM's jcoevtreport command. The format for time of registration, time of arrival, start time and finish time is YYYYMMDDhhmmss; the header is output in DISP format.

This plugin assumes that the following servers are being used.

• Monitoring server (Execution target servers)

The server that acquires the number of JP1/IM - Manager events.

Use situation

The plugin can be used to investigate events arriving at JP1/IM - Manager.

Prerequisites

For the latest support information about [Required products on the execution target server]/[Prerequisite product OS running on the execution target server], see the release notes.

In addition, the following OS and products use abbreviations. For the abbreviations of OS and products, see the "Preface".

[Required products on the execution target server]

(1)JP1/IM - Manager

[Prerequisite product OS running on the execution target server]

(1) Windows Server

(2) Red Hat Enterprise Linux Server

[Usage conditions for required products on the execution target server]

(1) If the execution target server's JP1/IM - Manager is in a cluster configuration, specify the name of the physical host on which the IM logical host is running in property plugin.destinationHost, and the logical host name of JP1/IM - Manager in property JP1IM.jp1imLHostName.

(2) An integrated monitoring database must be running.

(3) For the range of dates and times that can be specified, refer to the specification of the jcoevtreport command of JP1/IM - Manager.

(4) If the OS is UNIX, the default locale of the connected user defined in the agentless connection target must be set to the language code used by the JP1/IM - Manager

Cautions

(1) Do not run multiple instances of this component on the same execution target server.

(2) Do not execute jcoevtreport simultaneous with the execution of this plugin.

Version

04.00.00

Plug-in tags

Gather JP1 information,IM,Windows,Linux

Plug-in name displayed in the task log

jp1imRetrieveEvent

Return code

0: Normal

11: Error (user error) Definition file's contents are invalid

12: Error (user error) Invalid property

13: Error (user error) Authentication disabled

20: Error (user error) Other user error

21: Error (invalid environment) Command cannot be found (error detected in the plugin script)

22: Error (invalid environment) Insufficient memory or disk capacity

23: Error (invalid environment) Required environment is invalid

24: Error (invalid environment) Start status is invalid

25: Error (invalid environment) Communication error

26: Error (linked product error) Internal error

41: Error (error detected in plugin) Missing property (error detected in plugin script)

42: Error (error detected in plugin) Internal error (error detected in the plugin script)

Property list

The following table lists the properties:

Property key

Property name

Description

Default value

I/O type

Required

JP1IM.outputFileName

output file name

Specifies the name of the CSV file to which the JP1 event information acquired.

--

Input

R

JP1IM.jp1imStartTime

Output target start date and time

Specifies the start date of the events to output. The specification format is YYYY-MM-DD. The time is set to 00:00:00.

--

Input

R

JP1IM.jp1imEndtime

Output target end date and time

Specifies the end date of the events to output. The specification format is YYYY-MM-DD. The time is set to 00:00:00.

--

Input

R

JP1IM.jp1imFilterName

Filter file name

Specifies the full path name of the filter file for output of event reports.

--

Input

O

JP1IM.jp1imLHostName

JP1/IM logical host name

Specifies the JP1/IM logical host name.

--

Input

O

plugin.destinationHost

Host name of the execution target server

Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported.

--

Input

R

common.returnValue

Return value for the plugin

The return value of this plugin stored.

--

Output

O