Hitachi

JP1 Version 12 JP1/Performance Management - Remote Monitor for Platform Description, User's Guide and Reference


4.1.11 Using commands to delete settings for a monitoring target

To use commands to delete settings for a monitoring target:

  1. Check the definition name of the application definition you want to delete.

  2. Unbind the alarm table.

  3. Delete the application definition.

For details about the jpcmkkey, jpcprocdef list, jpctool alarm unbind, and jpcprocdef delete commands, see the chapter that describes commands in the manual JP1/Performance Management Reference.

The service ID differs depending on various conditions such as the instance name, monitoring target name, and PFM - RM host name. For example, if the instance name is inst1, the monitoring target is targethost1, and the PFM - RM host name is lhost1, the service ID becomes 7A1inst1[targethost1@lhost1]. For details about service IDs, see the section that describes service-naming rules in the appendix of the JP1/Performance Management Planning and Configuration Guide.

Organization of this subsection

(1) Creating an authentication key file

On the host on which PFM - Web Console is installed, create an authentication key file by executing the jpcmkkey command.

This step is not necessary if an authentication key file has already been created.

The following example shows a command execution that creates an authentication key file when ADMINISTRATOR is the user name to be used for login authentication and xxxxx is the password used during execution:

jpcmkkey -user "ADMINISTRATOR" -password "xxxxx"

(2) Checking the definition name of the application definition to be deleted

You can check the definition name of the application definition you want to delete from the list of application definitions defined in the monitoring agent by executing the jpcprocdef list command.

Execute the jpcprocdef list command by logging in to the host on which PFM - Web Console is installed. An example of how to specify this command follows:

jpcprocdef list -agent service-ID

(3) Unbinding the alarm table

Unbind the alarm table that is bound to the monitoring agent and stop any monitoring by executing the jpctool alarm unbind command.

Execute this command by logging in to the host on which PFM - Web Console is installed.

If the alarm table has already been unbound, there is no need to unbind it every time you delete a setting of a monitoring target.

An example of how to specify the jpctool alarm unbind command for unbinding the alarm table PFM RM Platform Template Alarms [APP] 09.10 follows:

jpctool alarm unbind -key RMPlatform -table "PFM RM Platform Template Alarms [APP] 09.10" -id service-ID

(4) Deleting the application definition

Delete the application definition by executing the jpcprocdef delete command.

Execute this command by logging in to the host on which PFM - Web Console is installed.

The jpcprocdef delete command deletes an application definition for a single agent. To delete application definitions for multiple agents, repeatedly execute the command using a batch process.

An example of how to specify the jpcprocdef delete command for deleting application definition application5 follows:

jpcprocdef delete -agent service-ID -name "application5"