Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.7.6 Deleting an alarm

To delete an individual alarm, you can use the jpctool alarm delete command.

  1. Log on to the host where PFM - Manager is installed.

  2. Execute the jpctool alarm list command to view the name of the alarm table containing the definition you want to delete.

    For example, execute the following command when you want to view the alarm table names defined in the PFM - Agent for Platform (UNIX):

    jpctool alarm list -key UNIX

    The output is shown below. In this example, you can see that the monitoring template and the alarm table alarmtable1 are defined.

    Product ID:U
    Alarm Table Name:
      alarmtable1
      PFM UNIX Solution Alarms 6.70
      PFM UNIX Solution Alarms 7.00

    For further details on the jpctool alarm list command, see the chapter that describes the command in the manual JP1/Performance Management Reference.

  3. Execute the jpctool alarm list command to view the name of the alarm to delete.

    For example, execute the following command when you want to view the alarm names defined in the alarm table named alarmtable1 of the PFM - Agent for Platform (UNIX):

    jpctool alarm list -key UNIX -table alarmtable1

    The output is shown below. In this example, you can see that the alarms Kernel CPU 01, Kernel CPU 02, and User CPU 01 are defined in the alarm table alarmtable1.

    Product ID:U
    DataModelVersion:4.0
    Alarm Table Name:alarmtable1
    Alarm Name: 
      Kernel CPU 01       [active]
      Kernel CPU 02       [active]
      User CPU 01         [active]
     
    The Bound Agent:
      UA1hostA
      UA1hostB

    For further details on the jpctool alarm list command, see the chapter that describes the command in the manual JP1/Performance Management Reference.

  4. Execute the jpctool alarm delete command.

    For example, execute the following command when you want to delete the alarm Kernel CPU 02 in the alarm table alarmtable1 of the PFM - Agent for Platform (UNIX):

    jpctool alarm delete -key UNIX -table alarmtable1 -alarm "Kernel CPU 02"

    For further details on the jpctool alarm delete command, see the chapter that describes the command in the manual JP1/Performance Management Reference.

  5. Execute the jpctool alarm list command to make sure that the alarm has been deleted.

    Like in step 2, execute the command as follows:

    jpctool alarm list -key UNIX -table alarmtable1

    The output is shown below. In this example, you can see that the alarm table Kernel CPU 02 has been deleted.

    Product ID:U
    DataModelVersion:4.0
    Alarm Table Name:alarmtable1
    Alarm Name: 
      Kernel CPU 01       [active]
      User CPU 01         [active]
     
    The Bound Agent:
      UA1hostA
      UA1hostB

    For further details on the jpctool alarm list command, see the chapter that describes the command in the manual JP1/Performance Management Reference.