Hitachi

JP1 Version 12 JP1/Performance Management Reference


jpctool config mgrimport

Organization of this page

Format

jpctool config mgrimport    -d import-source-directory
                            [-noprogress]

Function

The jpctool config mgrimport command imports a definition information file of the PFM - Manager in a multiple-monitoring environment from a specified directory.

The definition information that can be imported is as follows:

Before importing the definition information, the jpctool config mgrimport command checks whether the definition information specified by the -d option matches that stored in the import-destination directory. For details about checking the definition information, see Appendix F. Checking the Definition Information.

Hosts that can execute the command

PFM - Manager

Execution permission

In Windows:

User with Administrators permissions (When the UAC of Windows is enabled, execute this command from the administrator console.)

In UNIX:

User with root user permissions (user with uid = 0)

Installation directory

In Windows:

\installation-folder\tools\

In UNIX:

/opt/jp1pc/tools/

Arguments

-d import-source-directory

Specifies the directory that stores the definition information exported by the jpctool config mgrexport command.

For import-source-directory, specify a string of 1 to 35 bytes, consisting of single-byte alphanumeric characters, single-byte space characters, and the symbols shown below.

-_#():/\

You cannot specify a relative path. Always specify an absolute path.

If the directory name that you want to specify includes spaces, enclose the entire name in double quotation marks ("). If you specify any of the following symbols, enclose it in double quotation marks (") to prevent it from being analyzed by a shell or command prompt:

( )

-noprogress

If this option is specified, the command does not output the information on the progress of import processing.

Notes

Return values

0

The command terminated normally.

1

The command line format is invalid.

2

The user does not have execution permission for the command.

4

The PFM - Manager service on the execution host is running.

5

The command was executed in a host other than the Performance Management host.

10

The command is now running.

12

The command was not executed in a multiple-monitoring environment.

100

The Performance Management environment is invalid.

105

The current directory is not the directory in which the jpctool config mgrimport command is installed.

200

A memory shortage occurred.

210

A disk space shortage occurred.

211

The specified file or directory cannot be accessed.

235

Copying of one or more files failed.

238

The definition information does not match.

239

The definition information has invalid content (the definition information has been changed after it was exported).

255

An unexpected error occurred.

Usage example

This example imports definition information from the /tmp/pfmimport directory.

jpctool config mgrimport -d /tmp/pfmimport

Output examples

The following shows an example of messages output to the standard output when the import of definition information has succeeded:

Example of standard output

KAVE06139-I Import of the multiple monitoring definitions will now start.
KAVE06143-I Import of the definitions will now start. (config=alarm definitions)
KAVE06144-I Import of the definitions ended normally. (config=alarm definitions)
KAVE06143-I Import of the definitions will now start. (config=action definitions)
KAVE06144-I Import of the definitions ended normally. (config=action definitions)
KAVE06143-I Import of the definitions will now start. (config=bind information)
KAVE06144-I Import of the definitions ended normally. (config=bind information)
KAVE06143-I Import of the definitions will now start. (config=report definitions)
KAVE06144-I Import of the definitions ended normally. (config=report definitions)
KAVE06143-I Import of the definitions will now start. (config=tenant group definitions)
KAVE06144-I Import of the definitions ended normally. (config=tenant group definitions)
KAVE06143-I Import of the definitions will now start. (config=PFM user account information)
KAVE06144-I Import of the definitions ended normally. (config=PFM user account information)
KAVE06140-I Import of the multiple monitoring definitions ended normally.

The following shows an example of messages output to the standard output when the import of definition information failed because of a discrepancy in definition information:

Example of standard output

KAVE06142-E The specified definition differs from the PFM - Manager definition. (Configure the health check function)
KAVE06142-E The specified definition differs from the PFM - Manager definition. (jpccomm.ini, section=Common Section, label=Multiple Alarm Table Bind)
KAVE06142-E The specified definition differs from the PFM - Manager definition. (HealthCheck, Property=Detail Records->PD->Log)