IBM Enterprise Console manual Configuration File, File Location, File Format, Example, Keywords

Models: Enterprise Console

1 194
Download 194 pages 8.78 Kb
Page 21
Image 21

The boundaries between events in the cache file are indicated by a terminating ^A character at the end of each event.

Configuration File

Most adapters come with a configuration file containing configuration options and filters. This file is read by an adapter when it is started. By modifying this file, you can reconfigure an adapter at anytime, without having to modify the adapter source code. To have your configuration changes take effect, simply stop and restart the adapter. A configuration file usually has an extension of .conf; see each specific adapter chapter for exact file names.

File Location

By default, an adapter expects its configuration file (along with its format, CDS, and error files) to be located as shown in the following table. For Windows and Windows NT, the syntax shown is correct when running the bash interpreter.

Adapter Type

Node Type

Location

 

 

 

TME

Managed node

$BINDIR/TME/TEC/adapters/etc/ or /etc/Tivoli/tecad/etc

 

 

(which is a link to the TME adapter directory)

 

 

 

 

Endpoint

$LCFROOT/bin/$INTERP/TME/TEC/adapters/etc or

 

 

/etc/Tivoli/tecad/etc (which is a link to the TME adapter

 

 

directory)

 

 

 

non-TME

Not applicable

path/etc where the adapter was manually installed or

 

 

/etc/Tivoli/tecad/etc (which is a link to the TME adapter

 

 

directory)

 

 

 

For information about directory structures and system variables (those beginning with $), see the Tivoli Management Framework Planning for Deployment Guide.

File Format

Each non-blank line that does not begin with the comment sign (#) is of one of the following forms:

vTo specify configuration options: keyword=value

vTo specify event filters:

Filter:CLASS=class_name;attribute=value;

vTo specify event buffer filters:

FilterCache:CLASS=class_name;attribute=value;

Example

#

#Communication Parameters

ServerLocation=ravel

ServerPort=5529

#Event Filters

#

Filter:Class=disk_event

Filter:Class=Su_Success;origin=126.32.2.14

Keywords

Keywords use the following format: keyword=value

Chapter 1. Understanding Adapters 9

Page 21
Image 21
IBM Enterprise Console manual Configuration File, File Location, File Format, Example, Keywords