Show TOC

Configuring Parameter ReportingLocate this document in the navigation structure


To configure the CCMS monitoring functions for TREX, you have to configure the parameter reporting first. To configure the parameter reporting, you must register the CCMS agent, SAPCCMSR, with the central monitoring system (CEN). During the registration process, you enter details of the CEN and the users through which communication between the agent and CEN is processed.


If you have installed TREX for the first time you have to work through the following configuration steps to configure parameter reporting for an initial TREX installation:

  1. You run scripts to set the correct environment variables:

    1. Log on to the TREX host with the <sapsid>adm user.

    2. Go to the directory <TREX_DIR>.

    3. Set the environment variables required by TREX by executing the following scripts in a command prompt:


      • Bourne shell sh, Bourne-again shell bash, Korn shell ksh


      • C Shell csh:

        source TREXSettings.csh



  2. Go to the directory <TREX_DIR>/exe/CCMS, in which the script for configuring the TREX monitoring functions is located.

  3. Register the CCMS agent with the central monitoring system (CEN) by executing the Python script:

    python --ccms --register

    If the superuser script requires authorizations for creating a directory, it will prompt you for the superuser password.

    During the registration of the CCMS agent, the following user data is queried:

    • Client

    • User Name

    • Logon language

    • Host name of the message server in the central monitoring system

    • Indicator as to whether load-balancing is to be used for logon

    • Logon group name for logging on (if load-balancing is activated)

    • Host name of the application server for logging on (if load-balancing is deactivated)

    • System number of the application server for logging on (if load-balancing is deactivated)

    • Host and port of the SAProuter in the form /H/<router host>/S/<router port>/H (optional, only necessary in exceptional cases)

    • Indicator for a trace (0 = no, 1 = yes)

    • User password; the password is used once only to log on as described above and is not saved

    • Gateway connection data (normally the message server for the central monitoring system), that the CCMS agent uses to communicate with the RFC server

    • Gateway host name

    • Gateway system number

  4. Choose the name of the system group.

    When the name of the system group is queried, you assign the TREX system for the SAP system ID <SAPSID> as the monitored system to the TREX_Systems system group in the central monitoring system:

    [optional] monitored system <SAPSID> belongs to system group: TREX_Systems

    If there is a default value for an entry, this is presented in square brackets. If you want to apply this value, choose ENTER.


To check whether or not CCMS and your TREX system are active, proceed as follows:

  1. Launch transaction RZ20 in the CCMS system.

    The screen containing the CCMS Monitor Sets appears.

  2. Expand the node SAP CCMS Monitors for Optional Components.

  3. Double-click the entry TREX.

  4. A node tree containing the following entries appears:

    • TREX Server Heartbeat (all Releases)

    • TREX (Release <= 6.40)

    • TREX (Release >= 7.0)

  5. For TREX 7.1, choose TREX (Release >= 7.0).

    Information about the Operating System, Host Name, CPU, and so on for your TREX system appears.