Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command and Definition File Reference


jcoegscheck

Organization of this page

Function

This command checks the contents of a correlation event generation definition file.

This command looks for definition errors and redundant definitions in the correlation event generation definition file.

Format

jcoegscheck -f correlation-event-generation-definition-file-name

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In UNIX: Superuser permissions

Storage directory

In Windows:

Console-path\bin\

In UNIX:

/opt/jp1cons/bin/

Arguments

-f correlation-event-generation-definition-file-name

Specifies the relative or absolute path of the correlation event generation definition file.

Return values

0

Contents of the correlation event generation definition file were correct

1

Correlation event generation definition file contained invalid contents

100

No execution permissions (Windows only)

Execution permissions are only granted to root (UNIX only)

101

Argument error

255

Other abnormal termination (system error)

Example

Check the contents of correlation event generation definition file /tmp/teigi1.conf at the physical host hostP:
Input value:
jcoegscheck -f /tmp/teigi1.conf
Result (when the definitions were correct):
KAJV3311-I The content of the correlation event generation definition file (/tmp/teigi1.conf) will now be checked.
KAJV3312-I No mistakes were found in the content of the correlation event generation definition file (/tmp/teigi1.conf).
Result (when there were errors in the definitions):
KAJV3311-I The content of the correlation event generation definition file (/tmp/teigi1.conf) will now be checked.
Contents of the correlation event generation definition file (/tmp/teigi1.conf) are now checked.
KAJV3313-E There is an invalid definition in the correlation event generation definition.
KAJV3314-E There is an error in the contents of the correlation event generation definition file. (file name = /tmp/teigi1.conf, line = 5, incorrect contents = The correlation event generation condition name has not been specified.)
KAJV3314-E There is an error in the contents of the correlation event generation definition file. (file name = /tmp/teigi1.conf, line = 25, incorrect contents=The number of specified event conditions exceeds the maximum for a single correlation event generation condition.)