Creating Your Own Monitors 

Use

SAP has predefined a wide variety of monitors for you in the SAP CCMS Monitor Templates and in the SAP CCMS Technical Expert Monitors. In addition, you can quickly and easily build additional monitors to meet special requirements.

For example, you want to monitor the relationship between your CPUs, operating system paging, and the R/3 System dialog response time. You can build an alert monitor that contains only these monitoring tree elements (MTEs). You can decide whether this monitor should cover one or multiple R/3 Systems.

The CCMS monitoring architecture provides the following features to increase your flexibility in creating monitors:

You can explicitly pick MTEs for your monitor. This is static MTE selection; only the MTEs that you select are added to the monitor, and this selection is not updated.

You can also use rule-based MTE selection (dynamic selection) to build your monitor. In this case, you tell the alert monitor to include all MTEs that meet a particular selection rule in your monitor. If the MTEs that meet this rule change, then the system automatically updates your monitor. For example, your monitor can be updated automatically when a new R/3 System is added to the alert monitor.

You can combine both static and rule-based MTE selection in the same monitor.

You can define virtual MTEs to structure your monitor. Virtual nodes are used as titles or labels in the alert monitor. They have no function other than to visually group together monitoring tree elements. For example, you can create virtual MTEs as titles for different groups of "real" MTEs in your monitor.

Procedure

  1. Choose CCMS ® Control/Monitoring ® Alert monitor. Alternatively, call Transaction RZ20.
  2. To create a monitor, you must first activate the maintenance functions by choosing Extras ® Activate maintenance functions.
  3. Choose Monitor (set) ® Create and specify whether you want to create a new monitor set, or to create a new alert monitor in an existing monitor set.
  4. If you are creating a new monitor set, you should specify who can modify the monitors it contains (you, you and the system administrator, or other users) and whether or not the monitor set should be included in the public monitors, that is, whether it is visible to all users.

  5. Enter the name of your new monitor or monitor set and choose Continue. When you confirm the name, the new monitor set is added to the list of available monitor sets.
  6. The alert monitor displays the complete monitoring tree. You can choose from all of the MTEs that are currently available in the alert monitor. The top line of the tree shows that this is a New monitor.
  7. There are now three ways to choose monitoring functionality for your new monitor. You can combine all three options. You can either:

The set of all existing Selectable MTEs is available under each virtual node. You can make a static selection of monitoring functionality from these MTEs. For example, you might want to choose background processing MTEs from the R/3 Systems that are offered.

You can create as many layers of virtual MTEs as you wish. For example, under background processing, you could add other virtual MTEs. You can also add virtual MTEs under rule MTEs (see below).

You must start defining virtual MTEs, however, from the New monitor line. You cannot create virtual MTEs in the set of "real" MTEs, which are reserved for static selection.

Position the cursor on the New monitor line or on any virtual node. Choose Edit ® Create node. In the dialog box, choose Rule node. Then use the F4 help to choose a rule for dynamically selecting MTEs.

In the rule specifications screen, specify a selection parameter for the rule. Example: <ALL> or <CURRENT> for the rule CCMS_DEFINE_R3_SYSTEMS (select from available R/3 Systems). Then choose Continue.

You can then add other rule-based or virtual MTEs under the rule MTE.

  1. Save your new monitor by choosing either Save or Activate. The system prompts you to enter a name for your monitor, which will then be saved. The new monitor is now part of your monitor set. You can use it just as you would any other monitor.