Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.8.4 Stopping monitoring with an alarm

You can use the jpctool alarm inactive command to disable an alarm.

To disable an alarm:

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

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

    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. Displays active at the right of the alarm name for enabled alarms. In this example, you can see that all the alarms are 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.

  3. Execute the jpctool alarm inactive command.

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

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

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

    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. Displays inactive at the right of the alarm name for disabled alarms. In this example, you can see that the alarm Disk Service Time is now 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.