Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


6.7.2 Checking the alarm definition file

You can use the jpctool alarm check command to check the alarm definition file.

In the following example, we check not only the syntax of the alarm definition file but also the details of the definition, such as whether PFM - Agent or PFM - RM defined in the file is set up, whether the record and field are supported, and so on.

  1. Verify that the Name Server, Master Manager, and View Server services are running.

    You can use the jpctool service list command to verify that the services of the Performance Management programs are running.

    For example, execute the following command when you want to list the services running on the host host01:

    jpctool service list -id "*" -host host01

    When PFM - Manager is running on the host01, the output is as follows:

    Host Name  ServiceID  Service Name    PID   Port  Status
    ---------  ---------  --------------  ----  ----  ------
    host01     PC1host01  Trap Generator  1468  1134  Active
    host01     PE1001     Correlator      1420  1114  Active
    host01     PH1host01  Action Handler  872   1116  Active
    host01     PM1001     Master Manager  1388  1104  Active
    host01     PP1host01  View Server     1504  1155  Active
    host01     PS1001     Master Store    632   1109  Active
    host01     PN1001     Name Server     484   8204  Active

    In this example, the Name Server, Master Manager, and View Server services are all running.

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

  2. Execute the jpctool alarm check command.

    Execute the command as follows:

    jpctool alarm check -f /tmp/alarmtmp01.cfg

    If any errors are found in the alarm definition file, an error message is generated for each error, indicating the detail of the error and the line number in the file.

    You must check the messages, and then resolve the errors.

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