Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.8.5 Starting monitoring with an alarm

You can use the jpctool alarm active command to enable an alarm.

To enable an alarm:

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

  2. Execute the jpctool alarm list command to view the name and the status of the alarm to enable.

    For example, execute the following command when you want to view the status of each alarm in the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX):

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

    The output is shown below. The output displays active at the right of the alarm name for enabled alarms, and inactive for disabled alarms. In this example, you can see that the alarm Disk Service Time is disabled.

    Product ID:U
    DataModelVersion:3.0
    Alarm Table Name:PFM UNIX Solution Alarms 7.00
    Alarm Name: 
      Disk Service Time   [inactive]
      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.

  3. Execute the jpctool alarm active command.

    For example, execute the following command when you want to enable the alarm Disk Service Time in the monitoring template PFM UNIX Solution Alarms 7.00 of the PFM - Agent for Platform (UNIX):

    jpctool alarm active -key UNIX -table "PFM UNIX Solution Alarms 7.00" -alarm "Disk Service Time"

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

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

    Like in step 2, 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 alarm Disk Service Time is now enabled.

    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.