Cisco Unified Serviceability Administration Guide for Cisco Unity Connection Release 2.x
Understanding Trace

Table Of Contents

Understanding Trace

Understanding Trace

Trace Configuration

Troubleshooting Trace Setting

Trace Collection

Trace Configuration and Collection Checklist

Where to Find More Information


Understanding Trace


This chapter, which provides information on Cisco Unified Serviceability trace, contains the following topics:

Understanding Trace

Trace Configuration

Troubleshooting Trace Setting

Trace Collection

Trace Configuration and Collection Checklist

Where to Find More Information

Understanding Trace

Cisco Unified Serviceability provides trace tools to assist you in troubleshooting issues with your voice application. Cisco Unified Serviceability supports SDI (System Diagnostic Interface) trace and Log4J trace (for Java applications).

You use the Trace Configuration window to specify the level of information that you want traced as well the type of information that you want to be included in each trace file.

In the Alarm Configuration window, you can direct alarms to locations, including SDI trace log files. If you want to do so, you can configure trace for alerts in the Cisco Unified Communications Manager Real-Time Monitoring Tool.

After you have configured information that you want to include in the trace files for the various services, you can collect and view trace files by using the trace and log central option in theCisco Unified Communications Manager Real-Time Monitoring Tool (RTMT).

Trace Configuration

You can configure trace parameters for any feature or network service that displays in Cisco Unified Serviceability. Use the Trace Configuration window to specify the parameters that you want to trace for troubleshooting problems.

You can configure the level of information that you want traced (debug level), what information you want to trace (trace fields), and information about the trace files (such as number of files per service, size of file, and time that the data is stored in the trace files.)

If you want to use predetermined troubleshooting trace settings rather than choosing your own trace fields, you can use the Troubleshooting Trace window. For more information on troubleshooting trace, see the "Troubleshooting Trace Setting" section.

After you have configured information that you want to include in the trace files for the various services, you can collect trace files by using the trace and log central option in RTMT. For more information regarding trace collection, see the "Trace Collection" section.

Troubleshooting Trace Setting

The Troubleshooting Trace Settings window allows you to choose the services in Cisco Unified Serviceability for which you want to set predetermined troubleshooting trace settings. In this window, you can choose a single service or multiple services and change the trace settings for those services to the predetermined trace settings. In the window, N/A displays next to inactive services.


Note The predetermined troubleshooting trace settings for a service include SDI and Log4j trace settings. Before the troubleshooting trace settings get applied, the system backs up the original trace settings. When you reset the troubleshooting trace settings, the original trace settings get restored.


When you open the Troubleshooting Trace Settings window after you apply troubleshooting trace settings to a service, the service that you set for troubleshooting displays as checked. In the Troubleshooting Trace Settings window, you can reset the trace settings to the original settings.

After you apply Troubleshooting Trace Setting to a service, the Trace Configuration window displays a message that troubleshooting trace is set for the given service(s). From the Related Links drop-down list box, you can choose the Troubleshooting Trace Settings option if you want to reset the settings for the service. For the given service, the Trace Configuration window displays all the settings as read-only, except for some parameters of trace output settings; for example, Maximum No. of Files. You can modify these parameters even after you apply troubleshooting trace settings.

Trace Collection

Use Trace and Log Central, an option in the Cisco Unified Communications Manager Real-Time Monitoring Tool, to collect, view, and zip various service traces and/or other log files. With the Trace and Log Central option, you can collect SDL/SDI traces, Application Logs, System Logs (such as Event View Application, Security, and System logs), and crash dump files.


Tip To collect CSA logs, check the Cisco Security Agent check box in the Select System Logs tab in RTMT. To access user logs that provide information about users that are logging in and out, check the Security Logs check box in the Select System Logs tab.



Tip Do not use NotePad to view collected trace files.


For more information on trace collection, refer to the Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection.

Trace Configuration and Collection Checklist

Table 6-1 provides an overview of the steps for configuring and collecting trace for feature and network services in Cisco Unified Serviceability.

Table 6-1 Trace Configuration and Collection Checklist 

Configuration Steps
Related Procedures and Topics

Step 1 

Choose System Settings > Enterprise Parameters in Cisco Unity Connection Administration and configure the maximum number of devices that are available for tracing. Enter a value in the Max Number of Device Level Trace field. The default specifies 12.

System Administration Guide for Cisco Unity Connection

Step 2 

Configure the trace setting for the service for which you want to collect traces.

To configure trace settings, choose what information you want to include in the trace log by choosing the debug level and trace fields.

If you want to run predetermined traces on services, set troubleshooting trace for those services.

Configuring Trace, page 7-1

Configuring Troubleshooting Trace Settings, page 8-1

Step 3 

Install the Cisco Unified Communications Manager Real-Time Monitoring Tool on a local PC.

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Step 4 

If you want to generate an alarm when the specified search string exists in a monitored trace file, enable the LogFileSearchStringFound alert in RTMT.

You can find the LogFileSearchStringFound alarm in the LpmTctCatalog. (In Cisco Unified Serviceability, choose Alarms > Definitions. In the Find alarms where drop-down list box, choose the System Alarm Catalog; in the Equals drop-down list box, choose LpmTctCatalog.)

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Viewing Alarm Definitions and Adding User-Defined Descriptions, page 5-1

Step 5 

If you want to automatically capture traces for alerts such as CriticalServiceDownand CodeYellow, check the Enable Trace Download check box in the Set Alert/Properties dialog box for the specific alert in RTMT; configure how often that you want the download to occur.

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Step 6 

Collect the traces.

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Step 7 

View the log file in the appropriate viewer.

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Step 8 

If you enabled troubleshooting trace, reset the trace settings services, so the original settings get restored.

Note Leaving Troubleshooting trace enabled for a long time increases the size of the trace files and may impact the performance of the services.

Configuring Troubleshooting Trace Settings, page 8-1

Where to Find More Information

Related Topics

Understanding Alarms, page 3-1

Alarm Configuration Checklist, page 3-3

Configuring Troubleshooting Trace Settings, page 8-1

Real-Time Monitoring Tool Administration Guide for Cisco Unity Connection

Serviceability Administration Guide for Cisco Unity Connection

System Administration Guide for Cisco Unity Connection