Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.8.1 Associating an alarm table with a monitoring agent

To bind the alarm table to the monitoring agent, use the jpctool alarm bind command.

Organization of this subsection

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

To bind multiple alarm tables 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 view the name of the alarm table to bind.

    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 confirm that a monitoring template and UNIX Alarm CPU are defined.

    Product ID:U
    Alarm Table Name:
      UNIX Alarm CPU
      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 bind command.

    For example, execute the following command when you want to bind the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX) to the agent on host01:

    jpctool alarm bind -key UNIX -table "PFM UNIX Solution Alarms 7.00" -id UA1host01
  4. Execute the jpctool alarm bind command with the -add option specified.

    For example, to add UNIX Alarm CPU to an agent on host01, execute the following command:

    jpctool alarm bind -key UNIX -table "UNIX Alarm CPU" -id UA1host01 -add

    You can bind up to 50 alarm tables at the same time.

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

  5. 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 about commands in the JP1/Performance Management Reference.

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

Note

Each agent can only have one alarm table bound to it. If you bind an alarm table to an agent already bound to another alarm table, the existing alarm table is unbound automatically and the new alarm table is bound.

To bind 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 bind.

    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 details on the jpctool alarm list command, see the chapter that describes the commands in the manual JP1/Performance Management Reference.

  3. Execute the jpctool alarm list command to determine which agent the alarm table to bind 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 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:
      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 bind command.

    For example, execute the following command when you want to bind the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX) to the agent on host01:

    jpctool alarm bind -key UNIX -table "PFM UNIX Solution Alarms 7.00" -id UA1host01

    For further details on the jpctool alarm bind 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 bound.

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