Monitoring resources permanently

In this example, you will use the WUI to create the real-time analysis definitions required to make this monitoring regular and permanent.

This example is a development of the previous example (Monitoring resources temporarily) in which you saw how to monitor the number of Db2® thread aborts in a CICS system group on a temporary basis.

Assume that you want the analysis definition RTDPAY02 to be in effect every day in CICS system group CSGAORS1, but only during prime shift (09:00 through 17:30). You have decided this because, outside of prime shift, you have few problems with Db2.
  1. Create a time period definition.
    1. From the main menu, click Administration > RTA system availability monitoring > Time periods to open the Time period definitions tabular view.
    2. Click the Create... button and type in the following information:

      You have to give the time period definition a name (PDFPRIME, in this example), say when it starts and when it ends, and specify the time zone. The description isn't mandatory, but you'll probably find it useful when you're looking at a list of period definitions and need to distinguish one from another. You can reuse this definition within the CICSplex any number of times, and for any of the CICSPlex® SM functions.

    3. Click Yes to confirm.
  2. Create an analysis specification.
    To get an analysis definition installed in a CICS system automatically, you have to create both an analysis specification and an analysis group. Begin with the analysis specification, though the order isn't important.
    1. From the main menu, click Administration > RTA system availability monitoring > Specifications to open the RTA specifications tabular view
    2. Click the Create... button and type in the following information
      RTA specification name
      RTSPAY02
      Description
      Install RTDPAY02 in CSGAORS1
      You can leave the remaining fields blank.
    3. Click Yes to confirm. The RTA specification tabular view is redisplayed and includes an entry for RTSPAY02.
  3. Set the scope of the analysis specification.
    The next step is to identify the CICS systems that are to use this specification.
    1. Select the entry for RTSPAY02 in the RTA specifications tabular view and click the Associate CICS group... button.
    2. In the CICS system group field, type CSGAORS1, and select Force to make all systems in CICS system group CSGAORS1 use this analysis specification.
    3. Click Yes to confirm.
  4. Create an analysis group.
    1. From the main menu, click Administration > RTA MAS resource monitoring > Groups to open the RTA groups tabular view
    2. Click the Create... button and type in the following:
    3. Click Yes to confirm.
  5. Associate the analysis group with the analysis specification.
    1. Select the for RTGPAY02 entry in the RTA groups view, and click theAdd to RTA specification... button.
    2. In the RTA specname field, type in RTSPAY02.

    If you want to check that the analysis group has been added to the analysis specification, from the main menu click Administration views > RTA MAS resource monitoring > Groups in Specifications to open the RTA groups in RTA specifications tabular view. This view shows an entry for analysis specification RTSPAY02 with analysis group RTGPAY02.

  6. Associate the analysis definition with the analysis group.
    1. From the main menu click Administration > RTA MAS resource monitoring > Definitions to open the RTA definitions tabular view.
    2. Select the entry for RTDPAY02 entry, and click the Add to RTA group... button.
    3. In the Resource group name field, type in RTGPAY02. In the Period Definition name field, type in PDFPRIME.
    4. Click Yes to confirm.
    Note: For a description of the RTA definitions view, see RTA definitions.

    If you want to check that the analysis definition has been successfully added to the analysis group, from the main menu click Administration views > RTA MAS resource monitoring > Definitions in groups to open the RTA definitions in RTA groups tabular view. An entry is listed for RTA group RTGPAY02 with RTA definition RTDPAY02 for period PDFPRIME.

The newly installed analysis definition takes effect in any CICS system that belongs to group CSGAORS1 when that CICS system next starts. (You can also activate a new analysis definition immediately from the MAS view by switching real-time analysis off and back on again.)