Administrator's and User's Guide for SFM HP-UX 11i v3 March 2012

Tracing EMT
This section provides an overview of tracing and information about the various trace levels in EMT.
This section also describes how to enable, modify, and disable tracing.
This section addresses the following topics:
“Enabling Tracing using the EMT GUI” (page 77)
“Enabling Tracing using the EMT CLI” (page 78)
“Modifying Tracing using the EMT GUI” (page 78)
“Modifying Tracing using the EMT CLI” (page 78)
“Disabling Tracing using the EMT GUI” (page 78)
“Disabling Tracing using the EMT CLI” (page 78)
Tracing is a feature that enables you to log and report errors. You can use tracing to log information
about problems encountered while using EMT. In this document, this information is called trace
records. The trace records are stored in the /var/opt/hpsmh/logs/error_log file. You can
send the error_log file to the HP support center whenever you encounter a problem.
Following is a sample of the information logged in the error_log file.
[Mon Nov 06 01:10:07 2006] [error] [client 15.76.96.40] 11/06/06 01:10:07 emtuicmd INFORMATIONAL 22253 1
Processing request to add action data, referer: <address>.
Table 17 describes the fields included in the error_log file.
Table 17 Entries in error_log
DescriptionField
Displays the date when the message was logged in the error_log file.Date
Displays the time when the message was logged in the error_log file.Time
Displays the severity of the error.Trace level
Displays the IP address of the client system.IP address
Displays messages that are generated on the client system.Message
Displays the program that has generated the log.Address
To change the default location of the error_log file, you must configure the /opt/hpsmh/
conf/smhpd.conffile.
Tracing using EMT is similar to tracing using Evweb. For information about the various trace levels,
see Tracing Evweb” (page 67).
Enabling Tracing using the EMT GUI
To enable tracing using the EMT GUI, complete the following steps:
1. Repeat steps 1-5 from “Launching EMT” (page 72).
NOTE: The Enable Tracing option is not displayed if tracing is already enabled. Instead,
the Disable Tracing and the Modify Tracing option are displayed.
2. Select Enable Tracing on the top right corner of the page.
The Enable Tracing page is displayed.
3. Set the trace level by selecting the level from the trace level list.
4. Select Enable Tracing.
The tracing level is set and a confirmation message is displayed.
5. Click OK on the confirmation message window.
Tracing EMT 77