Show TOC

 Defining Monitors with the Rule GET_MTE_BY_CLASS_AS_VIRTUALLocate this document in the navigation structure

Always use the rule CCMS_GET_MTE_BY_CLASS_AS_VIRTUAL together with the rule CCMS_GET_MTE_BY_CLASS_UNDER_CLASS. You can use these two rules to display sections of hierarchy trees without having to do without the hierarchical display.

For example, if you want to monitor the following operating system resources, which are to be displayed structured by the monitored hosts:

  • CPU utilization (MTE class CPU_Utilization)
  • Paging-in rate (MTE class Page_In)
  • Paging-out rate (MTE class Page_Out)

These MTE classes are part of the operating system subtree (MTE class OperatingSystem). If you create a monitor with the rule CCMS_GET_MTE_BY_CLASS with the MTE classes listed above, you obtain all of the desired values, but in a flat hierarchy:

However, if you specify the superordinate MTE class OperatingSystem in the rule CCMS_GET_MT_BY_CLASS, you obtain the desired hierarchy, but all other values in this subtree as well as the desired values.


Monitor Definition

To create a monitor, proceed as described in Creating and Changing Monitors. The figure below shows a simple rule-based monitor definition using the above rule (for information about the possible rules and display options, see Rule MTEs: Rule Descriptions and Use):

Keep in mind the following points when you use these rules:

  • Specify the MTE class of a subtree of which you only want to display a section in the rule CCMS_GET_MTE_BY_CLASS_AS_VIRTUAL. Typical examples of subtrees of this type are:
    • Instance (MTE class R3ApplicationServer)
    • Operating system data (MTE class OperatingSystem)
    • J2EE Engine (MTE class SAP_J2EE_Engine)

    Corresponding subtrees are then displayed in the monitor as virtual nodes.

  • You specify the MTE class of the node that you want to display under the subtree defined above in the ChildMTEClass parameter in the rule CCMS_GET_MTE_BY_CLASS_UNDER_CLASS. The rule adopts the parameters MTEClass and R3System from the higher-level rule CCMS_GET_MTE_BY_CLASS_AS_VIRTUAL.

    To display multiple MTE classes, simply create multiple CCMS_GET_MTE_BY_CLASS_UNDER_CLASS rules under the CCMS_GET_MTE_BY_CLASS_AS_VIRTUAL rule.

  • The Short Name is usually sufficient in the Display Options in CCMS_GET_MTE_BY_CLASS_UNDER_CLASS, since the context is already displayed by the superordinate rule.
Monitor Display

If you choose Generate Monitor  () for the above monitor definition, the following monitor is generated: