Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.8.2 Unbinding an alarm table bound to a monitoring agent

To unbind an alarm table, use the jpctool alarm unbind command.

Organization of this subsection

(1) When the functionality for binding multiple alarm tables is enabled

To unbind an alarm table when the functionality for binding multiple alarm tables is enabled:

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

  2. Execute the jpctool alarm list command to make sure that the alarm table has been bound.

    Specify and execute the command as follows:

    jpctool alarm list -id UA1host01

    The output is shown below. In this example, you can see that the monitoring template PFM UNIX Solution Alarms 7.00 and UNIX Alarm CPU are bound to an agent UA1host01.

    Service ID:UA1host01
    Bound Alarm Table Name:
      UNIX Alarm CPU
      PFM UNIX Solution Alarms 7.00

    For details of the jpctool alarm list command, see the chapter that describes the commands in the JP1/Performance Management Reference.

  3. Execute the jpctool alarm unbind command.

    For example, to unbind all the alarm tables bound to the agent UA1host01, execute the following command:

    jpctool alarm unbind -key UNIX -all -id UA1host01

    For details of the jpctool alarm unbind command, see the chapter that describes the commands in the manual JP1/Performance Management Reference.

  4. Execute the jpctool alarm list command to make sure that the alarm table has been unbound.

    Like in step 2, execute the command as follows:

    jpctool alarm list -id UA1host01

    The output is shown below. In this example, you can confirm that no alarm table is bound to the agent UA1host01.

    Service ID:UA1host01
    Bound Alarm Table Name:

    For details of the jpctool alarm list command, see the chapter that describes the commands in the JP1/Performance Management Reference.

(2) When the functionality for binding multiple alarm tables is disabled

To unbind an alarm table when the functionality for binding multiple alarm tables is disabled:

  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 to unbind.

    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 only the monitoring template is defined.

    Product ID:U
    Alarm Table Name:
      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 determine which agent the alarm table to unbind is bound to.

    For example, execute the following command when you want to determine which agent the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX) is bound to:

    jpctool alarm list -key UNIX -table "PFM UNIX Solution Alarms 7.00"

    The output is shown below. In this example, you can see that the monitoring template PFM UNIX Solution Alarms 7.00 is bound to the hosts host01, hostA, and hostB.

    Product ID:U
    DataModelVersion:3.0
    Alarm Table Name:PFM UNIX Solution Alarms 7.00
    Alarm Name: 
      Disk Service Time   [active]
      I/O Wait Time       [active]
      Kernel CPU          [active]
      Pagescans           [active]
      Run Queue           [active]
      Swap Outs           [active]
      User CPU            [active]
     
    The Bound Agent:
      UA1host01
      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 unbind command.

    For example, execute the following command when you want to unbind all the hosts whose name begins with host in the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX):

    jpctool alarm unbind -key UNIX -table "PFM UNIX Solution Alarms 7.00" -id "UA1host*"

    For further details on the jpctool alarm unbind 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 table has been unbound.

    Like in step 3, execute the command as follows:

    jpctool alarm list -key UNIX -table "PFM UNIX Solution Alarms 7.00"

    The output is shown below. In this example, you can see that the monitoring template PFM UNIX Solution Alarms 7.00 is bound to no host.

    Product ID:U
    DataModelVersion:3.0
    Alarm Table Name:PFM UNIX Solution Alarms 7.00
    Alarm Name: 
      Disk Service Time   [active]
      I/O Wait Time       [active]
      Kernel CPU          [active]
      Pagescans           [active]
      Run Queue           [active]
      Swap Outs           [active]
      User CPU            [active]
     
    The Bound Agent:

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