Event filtering – IBM Enterprise Console User Manual

Page 26

Advertising
background image

non-TME adapters that send events to a Windows event server or a Tivoli
Availability Intermediate Manager (AIM), specify one value for each event
server defined with the ServerLocation keyword.

The ServerPort keyword is optional when the event server is running on
UNIX, but mandatory when running on Windows.

Note:

If the event server is running on Windows: There is no portmapper
daemon on a Windows machine that allows the adapter to query the
reception port at runtime. The event server listens on a fixed
reception port (tec_recv_agent_port in .tec_config) for connection
and adapter input. Set ServerPort to the value of the
tec_recv_agent_port

entry in the .tec_config file in the

$BINDIR/TME/TEC

directory. The default is 5529. The Tivoli

Availability Intermediate Manager never uses the portmapper; the
Tivoli Availability Intermediate Manager server listens on a fixed
port set in the Tivoli Availability Intermediate Manager graphical
user interface.

TestMode

Specifies whether test mode is turned on or off. When TestMode=YES, the
ServerLocation

keyword specifies the file to which events are logged,

instead of being sent to the event server. Valid values are YES and NO,
without regard to case. The default is NO.

The TestMode keyword is optional.

Event Filtering

Normally, an adapter sends all events to the event server. You can optionally
specify events that can or cannot be sent to the event server. You can do this by
specifying the event class and such information as the origin, severity, or any other
attribute=value pair that is defined for the event class. The class name specified for
an event filter entry must match a defined class name; an adapter does not
necessarily have knowledge of the class hierarchy.

Depending on how you specify the Filter and FilterMode keywords, filtered
events are either sent to the event server or discarded.
v To send specific events to the event server:

1.

Set FilterMode to IN.

2.

Create Filter statements to match the specific events that you want sent.

v To discard specific events:

1.

Set FilterMode to OUT (the default value).

2.

Create Filter statements to match the specific events that you want
discarded.

v To send all events to the event server (the default behavior):

1.

Set FilterMode to OUT.

2.

Do not specify any Filter statements.

Note:

All events are discarded when the configuration is as follows:

1.

FilterMode

is set to IN.

2.

No Filter statements are specified.

To use non-English characters in a Filter statement, you must enter the non-English
characters in the local encodings.

14

IBM Tivoli Enterprise Console: Adapters Guide

Advertising