WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Modifying log file names and paths for IBM Tivoli Monitoring

By default, IBM® Tivoli® Monitoring monitors the edge-heartbeats.log and edge-alerts.log files. IBM Tivoli Monitoring looks for these files in the IBM_RFID_HOME\logs directory.

If you have changed the log file path, modify the LogSources variable in the tecad_win.conf file so that IBM Tivoli Monitoring can find the files. LogSources is equal to the fully-qualified path and name of the files to be watched.

The tecad_win.conf file is located in the following directories:
  • Windows IBM_RFID_HOME\monitoring
  • Linux IBM_RFID_HOME/monitoring

The IBM Tivoli Enterprise Console® v3.9 Adapter's Guide describes the LogSources variable in the following terms.

LogSources: Specifies the ASCII log files to poll for messages. The complete path to each file must be specified, and file names must be separated by commas. Within each file name, you can also use an asterisk to represent any sequence of characters or a question mark to represent any single character. For example, mylog* results in polling all log files with names that begin with mylog, while mylog??? results in polling all log files with names that consist of mylog followed by exactly three characters. These wildcard characters are supported only within the file name; the path must be explicitly specified.

A log file source does not have to exist when the adapter is started; it is polled when it is created. Each line in the file must end with a newline character. If a file truncates while the adapter is active, the adapter automatically resets its internal pointer to the beginning of the file. If during the polling interval the file is overwritten, removed, or recreated with more lines than the previous poll, only the number of lines greater than the previous line count is read. For example, the file has one line. After the poll interval elapses, the file is overwritten with two lines. Only the second line is read on the next polling.

For more details on LogSources and editing the tecad_win.conf file, refer to the online version of the IBM Tivoli Enterprise Console v3.9 Adapter's Guide.


Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.