beautypg.com

Tecad_win – IBM Enterprise Console User Manual

Page 136

background image

tecad_win

Starts the Windows event log adapter in non-service mode.

SYNOPSIS

tecad_win.exe

[–d] [–c ConfigFile] [–L none | EventLog ...]

DESCRIPTION

The tecad_win command starts the Windows event log adapter in non-service
mode. You can use the non-service mode for diagnostic purposes or to view event
messages in a Windows console window. The Windows service mode adapter must
be stopped before the non-service mode adapter is started. To stop the service
mode adapter, run the following from the command line:

net stop TECWinAdapter

Before starting the non-service adapter, set the TECADHOME environment
variable.

Authorization: none

Arguments:

–c

ConfigFile

Specifies the configuration file for the Windows event log adapter. If a
value is not specified, the tecad_win.conf file in the current directory is
used. If the –c argument is used, you can optionally specify a full path
name for the configuration file; otherwise, one of the appropriate
directories specified in “File Location” on page 9 is used.

–d

Shows debug information as events are gathered and transmitted. This
argument also selects a verbosity level of 1.

Note:

When running a non-TME version of the Windows event log
adapter in this mode, make sure that no other adapters of the same
source are running at the same time.

–L

Specifies which Windows event logs, if any, to monitor.

none

Specifies that no Windows event logs are monitored.

EventLog ...

Specifies which Windows event logs are monitored. Values are
ApplicationLog

, DirectoryLog, DNSServerLog,

FileReplicationLog

, SecurityLog, and SystemLog. When specifying

more than one event log, separate the entries with a space.

EXAMPLES

The following command starts the Windows event log adapter in diagnostic mode:

tecad_win –d

The following command starts the Windows event log adapter with the
myconfile.conf

configuration file:

tecad_win –c myconfile.conf

Note:

The .conf file must be in the /etc directory where the adapter is installed.

124

IBM Tivoli Enterprise Console: Adapters Guide