Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


[Figure]Response action state monitoring definition file (responseactionnotice.conf)

Organization of this page

Format

{
    "meta":{
        "version":"version-information",
    },
    "eventnotice":{
        "autoactionevent":"[automatically-notify-response-action-status]",
    }
}

Files

responseactionnotice.conf

responseactionnotice.conf.model (model file of the response action state monitoring definition file)

Storage directory

In Windows
For a physical host:

Manager-path\conf\imdd\responseaction

For a logical host:

shared-folder\jp1imm\conf\imdd\response action

In UNIX
For a physical host:

/etc/opt/jp1imm/conf/imdd/responseaction

For a logical host:

shared-directory/jp1imm/conf/imdd/responseaction

Character code

This file should be saved in UTF-8 without being granted BOM (byte order mark).

Description

A file that defines setup for monitoring execute status for automated response action.

When the definitions are applied

Turns enable when JP1/IM - Manager starts.

Information that is specified

The following table lists the members that can be specified:

Member

Data type

Description

Remarks

meta

object

Setup of the meta-information.

Required

version

string

Specifies version of response action state monitoring definition file.

Specify 1 as the fixed value.

Required

eventnotice

object

Setup to notify the event when status is changed.

Optional

autoactionevent

string[]

Specifies status for auto response action to be notified when it reaches which status.

You can specify one of the following:

  • SENDED

    Issues a JP1 event when sending request of response action execute to JP1/IM - Manager managing JP1/IM agent control base to run was completed (when response action's status changes to "Execute control sending").

  • RUNNING

    Issues a JP1 event when sending request of response action execute to JP1/IM agent control base to run was completed (when status of response action is "Queuing").

  • ENDED

    Issues a JP1 event when the command Execute in JP1/IM agent control base is completed (when status in response action is "Terminated" or "Forcibly killed" or "Canceled").

  • ERROR

    A JP1 event is issued when Status of Response Action becomes an abnormal Status (when status of response action becomes "Fail," "Communication failed," or "Execute failed").

This member can have more than one setup.

The defaults (default value, assuming an error occurs) work with Status that does not have this member setup.

Optional

Example definition

The following is a sample definition for issuing a JP1 event when execute of auto response action terminates or an execution fails.

{
    "meta":{
        "version":"1"
    },
    "eventnotice":{
        "autoactionevent":["ENDED","ERROR"]
    }
}