Show TOC

Configuring Monitoring of Log FilesLocate this document in the navigation structure

Use

You can use the Generic Request and Message Generator (GRMG) to monitor the log files of TREX components. You configure theses monitoring functions by calling the script ccms_config.py with the parameter --logmon.

Prerequisites

You have configured the parameter reporting for TREX (see Configuring Parameter Reporting).

Procedure

UNIX

  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.

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

    .TREXSettings.sh

    C shell csh:

    source TREXSettings.csh

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

  5. Execute the following command to configure monitoring of log files:

    python ccms_config.py -logmon

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

Windows

  1. Log on to the TREX host as administrator.

  2. Go to the directory <TREX_DIR>.

  3. Set the environment variables required by TREX by entering the following command into a prompt.

    TREXSettings.bat

  4. Go to the directory <TREX_DIR>\exe\ccms, which contains the script for installing the TREX monitoring functions:

  5. Execute the following command to configure monitoring of log files:

    python ccms_config.py --logmon

    Note

    If you need help on the configuration script ccms_config.py, enter: ./ccms_config.py -? ( -h or --help).

Result

You have configured the monitoring of log files for TREX.