![]() |
![]() |
[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
To trace rules, you must first specify a trace file using the wsetesvrcfg -t command or the Server Parameters window (see the IBM Tivoli Enterprise Console Command and Task Reference for more information.)
Next, compile the rule base with tracing enabled. This can be done from the command line with the wrb -comprules -trace command, with a trace directive specified in a rule or rule set, or from the rule builder by selecting Trace Rules in the Compile Rule Base dialog. When compiling is completed, load the rule base. Ensure you select Trace Rules in the Event Server Parameters dialog before stopping and restarting the event server to begin logging of the trace output.
When they run, rules generate trace output in a log file. You can examine the trace file to analyze and debug rule execution. The name and location of the trace file is set in the Event Server Parameters dialog. The default trace file is /tmp/rules.trace. The tail -f command is useful for viewing the trace file as events are received.
[ Top of Page | Previous Page | Next Page | Contents | Index ]