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 scriptccms_config.py with the parameter--logmon.

Prerequisites

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

Procedure (UNIX)

  1. Log on to the TREX host asroot.
  2. Go to the directory<TREX_DIR>.
  3. Set the environment variables required by TREX by executing the following scripts.

    Bourne shellsh, Bourne-again shellbash, Korn shellksh

    . TREXSettings.sh

    C Shell csh:

    source TREXSettings.csh

  4. Go to the directory<TREX_DIR>/exe/CCMS, 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

Procedure (Windows)

  1. Log on to the TREX host asadministrator.
  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 scriptccms_config.py, enter: ./ccms_config.py -?(-h or --help).

Result

You have configured the monitoring of log files for TREX.