Advanced Options - Tracing

The advanced Agent options allow you to specify the Trace settings, to distribute workload among Agents, to restrict the number of report blocks to be stored in the Automation Engine database and to specify the time interval for the periodic Automation Engine check.

This page includes the following:

The options that are available in the Trace Flags section depend on the type of Agent. For example, Windows Agents have an additional section (Additional Trace Options that other Agents do not have.

Setting the Trace Options

All agents can write trace files. Like log files, trace files keep a record of activities on a component. However, whereas log files record key events and messages, trace files record the entire program and data flow. This detailed information can be helpful for diagnosing difficult error situations or critical performance bottlenecks.

Although tracing can be useful, it generates huge amounts of data in a short time and this can decrease system performance significantly. For this reason tracing is usually disabled. However, when you have a complex error situation that might be related to one of your agents, CA Automic Support might ask you to temporarily enable tracing on the agent.

Important! Because tracing can have a noticeable negative effect on system performance, please set trace options only when the Support team instructs you to do so explicitly. Your support case assistant knows which values to set to collect targeted data with the lowest impact on your system performance.

Trace Flags Section - What Is Traced

In the Trace Flags section you set the trace level for a number of Agent activities (TCP/IP, File Transfers, Events and so on); which options are available depend on the type of Agent. Generally, the trace values are 0–9 to indicate the level of detail collected, but values can be different for some processes. Tracing is disabled when the trace value is 0 (zero).

Rapid Automation (RA) agents have an additional "RA" trace option. When tracing RA agents, you usually specify the highest trace level (99) but, as with all trace options, ask the Support team what they recommend. Please note that although some RA agents, such as RA Web Service REST Agent and RA Web Service SOAP Agent, allow you to set additional third-party library tracing in their UCXJCITX.INI file, you cannot enable third-party tracing remotely. For more information, see Agent RA Core.

Additional Trace Options - How Trace Data Is Collected

Error situations that occur sporadically or are not reproducible are difficult to trace. If you trace everything in the hopes of catching the error, trace files can quickly become hard to read or too big for the available disk space. Using a combination of the following trace options, you can better target your tracing while managing your disk capacity.

To Start Agent Tracing

To start tracing, you need to set trace options that specify exactly what data is collected. You can only set tracing options for agents that are enabled (running).

  1. Go to the Administration perspective if you are not already there.
  2. Expand the Agents & Groups menu and select Agents.
  3. Right-click the agent and select Advanced Options.

To Stop Agent Tracing

Generally, when you set trace options for an agent, you specify a Trace Search Key, a string that signals the end of tracing, so that tracing stops automatically.

Tracing stops in one of the following ways:

See also: