Typically IBM® Software Support
applies specialized knowledge to analyze trace logs to determine the
source of problems. However, you can open trace logs in a text editor
such as
vi to learn some basic facts about your IBM Tivoli Monitoring environment.
You can use the
ls -ltr command to list the
log files in the
install_dir/logs directories,
sorted by time they were last updated.
- Example one
- This excerpt shows the typical log for a failed connection between
a monitoring agent and a monitoring server with the host name server1a:
(Thursday, August 11, 2005, 08:21:30-{94C}kdcl0cl.c,105,"KDCL0_ClientLookup") status=1c020006,
"location server unavailable", ncs/KDC1_STC_SERVER_UNAVAILABLE
(Thursday, August 11, 2005, 08:21:35-{94C}kraarreg.cpp,1157,"LookupProxy") Unable to connect to
broker at ip.pipe:: status=0, "success", ncs/KDC1_STC_OK
(Thursday, August 11, 2005, 08:21:35-{94C}kraarreg.cpp,1402,"FindProxyUsingLocalLookup") Unable
to find running CMS on CT_CMSLIST <IP.PIPE:#server1a>
- Example two
- The following excerpts from the trace log for
the monitoring server show the status of an agent, identified
here as "Remote node." The name of the computer where the agent is
running is SERVER5B:
(42C039F9.0000-6A4:kpxreqhb.cpp,649,"HeartbeatInserter") Remote node SERVER5B:KUX is ON-LINE.
. . .
(42C3079B.0000-6A4:kpxreqhb.cpp,644,"HeartbeatInserter") Remote node SERVER5B:KUX is OFF-LINE.
Key
points regarding the preceding excerpt:
- The monitoring server appends the KUX product
code to the server name to form a unique name (SERVER5B:KUX)
for this instance of Monitoring Agent for UNIX OS. This unique name enables
you to distinguish multiple monitoring products that might be running
on SERVER5B.
- The log shows when the agent started (ON-LINE) and later stopped
(OFF-LINE) in the environment.
- For the sake of brevity an ellipsis (...) represents the series
of trace log entries that were generated while the agent was running.
- Between the ON-LINE and OFF-LINE log entries, the agent was communicating
with the monitoring server.
- The ON-LINE and OFF-LINE log entries are always available in the
trace log. All trace levels that are described in Setting RAS trace parameters provide these entries.