The following example illustrates how the Windows path notation can be
expanded:
c:\winnt\system32\drivers\etc\Tivoli\tec\tec_gateway.conf
The configuration file defines the behavior of the gateway. The configuration file
can have the common keywords described in “Keywords” on page 9, as well as
the following custom keywords:
BufEvtPath Specifies the gateway to buffer events at this location if it cannot
forward them to the event server. Because a single gateway can
forward events to multiple event servers, it must have an event
buffer file for each of those event servers. This allows the gateway
to send events to the correct event servers when it re-establishes
connections to them and flushes buffers. These buffer files are
created by the gateway appending the event server location to the
name of the file defined with the BufEvtPath option.
The following example shows how to specify this option:
ServerLocation=@EventServer#tmr-central
BufEvtPath=/etc/Tivoli/tec/gateway_cache
In the example, the actual file created is /etc/Tivoli/
tec/gateway_cache@EventServer#tmr-central.
More than one buffer file might be created at the gateway,
depending on how many event server locations are configured by
the adapters sending events. For each different server location, a
separate buffer file is created. Continuing with the example, if the
gateway received an event from an adapter that specified server
location @EventServer#tmr-east, an additional file named
/etc/Tivoli/tec /gateway_cache@EventServer#tmr-east would be
created.
The default is the following:
UNIX: /etc/Tivoli/tec/cache@EventServer#region
Windows: $DBDIR/cache.dat@EventServer#region (on managed
nodes)
$TIVOLIHOME/tec/$(AC_TYPE).cache@ EventServer#region (on
endpoints)
Note: The keywords Filter, FilterCache, and FilterMode can be
used for the gateway. For reducing network load and
improving performance of the managed node containing the
gateway, it is better to filter events as close to the source as
possible; that is, by specifying filter options in adapter
configuration files.
EventSendThreshold
Specifies the maximum number of events per second to send to the
server. Use this parameter with the BufferFlushRate keyword.
GatewayAckInterval
Specifies the timeout interval, in seconds, to wait for the
98 IBM Tivoli Enterprise Console: Adapters Guide