Performance Management (On Premises) Version 8.1 Troubleshooting
Performance Management (On Premises) Version 8.1 Troubleshooting
1
(On Premises)
Troubleshooting for Performance Management Version 8.1
(On Premises)
ii Troubleshooting for Performance Management Version 8.1 (On Premises):
Contents
Chapter 1. Troubleshooting and support 1 Multiple agents: Installation failed on AIX . . . . 16
Collecting Performance Management infrastructure Multiple agents: Agent installation failed for SaaS
logs for IBM Support . . . . . . . . . . . 1 agents with an existing IBM Tivoli Monitoring
Collecting monitoring agent logs for IBM Support . . 4 V6.2.3 framework . . . . . . . . . . . . 16
Performance Management server installation failure
Chapter 2. Installation . . . . . . . . . 7 and the RPM database. . . . . . . . . . . 17
Agent installation fails . . . . . . . . . . . 7
Uninstallation of monitoring agents fail . . . . . 7 Chapter 3. Integration . . . . . . . . 19
Agent Subscription Facility (ASF) activity log Hybrid Gateway: Unable to connect to the Tivoli
customization parameter . . . . . . . . . . 7 Enterprise Portal Server . . . . . . . . . . 19
DataPower agent: Configuration failed with SSL Hybrid Gateway: Tivoli Monitoring domain
security error . . . . . . . . . . . . . . 8 managed systems are not visible in the Application
DB2 agent: Configuration failed with permission Performance Dashboard . . . . . . . . . . 19
error for non-root user after installation with root
user . . . . . . . . . . . . . . . . . 9 Chapter 4. Agent . . . . . . . . . . 21
DB2 agent: Agent uninstallation command reports Active Directory agent: Dashboard errors . . . . 21
failed uninstallation . . . . . . . . . . . . 9 LDAP Successful Bind attribute appears with
HMC Base agent user: Configuration . . . . . . 9 value 0 on the dashboard. . . . . . . . . 21
Linux KVM agent: Installation errors on UNIX Dashboard does not display the updated list of
systems. . . . . . . . . . . . . . . . 10 instances . . . . . . . . . . . . . . 21
Microsoft IIS agent: When Windows OS agent is DataPower agent: AIX Installation . . . . . . . 21
uninstalled, the Microsoft IIS agent is also DB2 agent: Memory leak . . . . . . . . . . 22
uninstalled . . . . . . . . . . . . . . 11 DB2 agent: No restart after unexpected termination 22
Microsoft SQL Server agent: Installation failure with Linux KVM agent: Attributes not available on RHEL
KGL and KGS components on 32-bit Windows 2003 5 and 6 systems . . . . . . . . . . . . . 22
system . . . . . . . . . . . . . . . . 11 Linux KVM agent: Errors with negative values . . 24
Microsoft SQL Server agent: Historical Data Linux KVM agent: oVirt API error in the RHEVM
Collection collects data after a slight delay . . . . 12 environment . . . . . . . . . . . . . . 24
Microsoft SQL Server agent: Database Server Microsoft Exchange Server agent: Exchange Server
Properties window does not display the upgraded 2013 component shows Exchange 2007 and 2010
version of the SQL Server . . . . . . . . . 12 instances . . . . . . . . . . . . . . . 24
Microsoft SQL Server agent: In Windows 2003 Microsoft Exchange Server agent: Dashboard defects 25
system, a non-administrator user cannot configure Microsoft Exchange Server agent: Low mailbox
the SQL Server agent services . . . . . . . . 12 space . . . . . . . . . . . . . . . . 25
Microsoft SQL Server agent: DB Microsoft Hyper-V Server agent: Agent log files are
INCLUDE/EXCLUDE configuration panel supports not in the CANDLEHOME/tmaitm6/logs directory . 25
only 256 characters . . . . . . . . . . . . 13 Microsoft Hyper-V Server agent: Memory leak is
Microsoft SQL Server agent: Historical Data observed . . . . . . . . . . . . . . . 26
Collection is not supported for the Customized SQL Microsoft Hyper-V Server agent: Process name gets
Query Result data set . . . . . . . . . . . 13 truncated on the dashboard . . . . . . . . . 26
Oracle Database agent: Cannot read remote alert log Microsoft Hyper-V Server agent: Rollup errors occur
file on Windows systems . . . . . . . . . . 13 in the agent log file. . . . . . . . . . . . 26
Oracle Database agent: Cannot load the Microsoft Hyper-V Server agent: VHD File Size (GB)
configuration file . . . . . . . . . . . . 13 displays 0 in the Virtual Machine Details group
Oracle Database agent: Uninstallation command widget . . . . . . . . . . . . . . . . 26
does not uninstall agents . . . . . . . . . . 14 Microsoft Hyper-V Server agent: WMI Error
SAP agent: Monitoring agent does not start in a 0x80041006 . . . . . . . . . . . . . . 26
non-ASCII environment . . . . . . . . . . 14 Microsoft Hyper-V Server agent No data is
SAP agent: Agent repeatedly restarts . . . . . . 14 displayed in the dashboard for the Linux virtual
SAP agent: Agent transport errors . . . . . . . 14 machine . . . . . . . . . . . . . . . 27
SAP agent: Monitoring agent cannot connect to the Microsoft IIS agent: Managed system seems to be
mySAP System . . . . . . . . . . . . . 15 offline . . . . . . . . . . . . . . . . 28
SAP agent: Cannot connect to the SAP system by Microsoft IIS agent: Monitoring data fails to be
using the Logon Group mode . . . . . . . . 15 displayed . . . . . . . . . . . . . . . 28
SAP agent: Cannot locate the KDCB0_HOSTNAME setting 16
iii
Microsoft IIS agent: Availability status shows Microsoft SQL Server agent: The configuration file
PROCESS_DATA_NOT_ AVAILABLE. . . . . . 28 of the MS SQL Problem Detail data set cannot
Microsoft IIS agent: Dashboard errors . . . . . 28 handle non-English ERRORLOG files . . . . . . 38
Dashboard shows a blank row for the newly Microsoft SQL Server agent: Attributes do not allow
added performance counters. . . . . . . . 29 non-ASCII input in the Situation Editor . . . . . 38
No data is displayed in the Error Statistics Multiple agents: High CPU usage . . . . . . . 39
(history) group widget and Request Rate Multiple agents: Log data accumulates too rapidly 39
(history) group widget. . . . . . . . . . 29 Multiple agents: Situation does not trigger . . . . 40
Error Statistics (history) group widget and Multiple agents: Situation is not displayed in the
Request Rate (history) group widget displays event tab . . . . . . . . . . . . . . . 40
incorrect or shuffled data for some attributes . . 29 Node.js agent: URL filtering, incorrect URL can be
Microsoft .NET agent: The CTIRA_LOG_PATH displayed . . . . . . . . . . . . . . . 41
variable does not work . . . . . . . . . . 29 Node.js agent: No data in deep-dive Request
Microsoft .NET agent: Dashboard errors . . . . . 30 Summary widget . . . . . . . . . . . . 41
Negative value for the Number of Current Node.js agent: Y-axis labels not displayed in
Physical Threads attribute . . . . . . . . 30 dashboard charts . . . . . . . . . . . . 41
Zero value for the NET CLR Networking data set 30 Node.js agent: Configuration file not generated after
Application instances are not displayed . . . . 30 configuring and starting the agent . . . . . . . 41
Data is not displayed for .NET resources of 32-bit Oracle Database agent: Some columns for monitored
applications . . . . . . . . . . . . . 31 Oracle RDBMS 10g instance display 0 . . . . . 42
Data is not displayed for Windows Workflow Oracle Database agent: Processes consume high
Foundation data set . . . . . . . . . . 31 CPU . . . . . . . . . . . . . . . . . 42
Data is not displayed for some data sets. . . . 31 Oracle Database agent: Memory usage for krzstart
Data is not displayed for the ASP.NET or krzclient processes increases . . . . . . . . 42
Applications Request Status (websockets) data set 32 Oracle Database agent: Instances not listed in My
Dashboards do not update or display data . . . 32 Components . . . . . . . . . . . . . . 43
Microsoft SQL Server agent: Dashboard errors . . . 34 PHP agent: injection codes not removed after
Negative value is returned for Transactions per uninstalling the agent . . . . . . . . . . . 43
Second in the Database Detail data set . . . . 34 Python agent: injection codes not removed after
Collection Status attribute returns a value of uninstalling the agent . . . . . . . . . . . 43
Inactive. . . . . . . . . . . . . . . 34 Ruby agent: Instance not discovered . . . . . . 44
Incorrect data is displayed for two SQL Server SAP agent: Data collection stops or runs sluggishly 44
databases with identical names . . . . . . . 34 SAP agent: ITM raised alert message in the SAP
Dashboard shows no data for the primary replica syslog . . . . . . . . . . . . . . . . 44
in the Availability Group details data set . . . 34 SAP agent: Incorrect parameters . . . . . . . 45
Dashboard displays incorrect value for some data SAP agent: Managed system names that show up
sets when a custom query is applied . . . . . 35 under SAP agent in the dashboard are incorrect . . 45
For the Stolen Pages Growth attribute negative SAP agent: Syslog messages and alert messages do
values are displayed on the dashboard . . . . 35 not show correctly in non-English languages . . . 45
For some attributes of the MS SQL Device Detail SAP agent: mySAP application server is not
and MS SQL Filegroup Details data sets incorrect discovered by the SAP agent . . . . . . . . 46
data is displayed on the dashboard . . . . . 35 SAP agent: mySAP server does not start when using
No data is collected for the Table Detail attribute 36 port 3661 . . . . . . . . . . . . . . . 46
For some attributes no data is displayed on the SAP agent: Non-ASCII characters that are entered
dashboard . . . . . . . . . . . . . . 36 into the configuration window do not show up or
Dashboard displays incorrect value for the Audit are not the correct characters . . . . . . . . 47
name attribute of the Audit Details data set . . 36 SAP agent: Attributes do not allow non-ASCII input
Microsoft SQL Server agent: Database errors . . . 36 when you are creating an eventing threshold . . . 47
Dashboard displays incorrect data for databases SAP agent: Return code 8 or return code 12 occurs
with identical names . . . . . . . . . . 36 on the main import step . . . . . . . . . . 47
Dashboard displays no data for databases with SAP agent: Agent does not start if RFC library is not
table level locking . . . . . . . . . . . 37 copied to the correct path. . . . . . . . . . 47
SQL Server agent takes long time to display data 37 SAP agent: TSV_TNEW_PAGE_ALLOC_FAILED ABAP
No data is collected for the Table Detail attribute 37 runtime error . . . . . . . . . . . . . . 48
Microsoft SQL Server agent: Eventing threshold SAP agent: Runtime errors in relation to transport
errors . . . . . . . . . . . . . . . . 37 on the SAP system . . . . . . . . . . . . 48
Monitoring interval is too long . . . . . . . 37 SAP agent: Same version installation warning
Situation does not activate at startup . . . . . 37 during command-line installation on UNIX . . . . 48
Microsoft SQL Server agent: Agent does not start . . 38 SAP agent: Tivoli Monitoring alert 9912 and SAP
Microsoft SQL Server agent: Handle leak occurs syslog message . . . . . . . . . . . . . 48
during the collector process . . . . . . . . . 38
Contents v
vi Troubleshooting for Performance Management Version 8.1 (On Premises):
Chapter 1. Troubleshooting and support
Review the troubleshooting information for problems you might experience with installing, configuring,
or using IBM® Performance Management.
When working with IBM Support, gather required logs and other troubleshooting information by using
the pdcollect tool.
Root permission is required to collect system information from the Performance Management server.
Procedure
1. On the command line, change to the Performance Management server directory: /opt/ibm/ccm/
2. Run the following command:
./collectLogs.sh
A tar.gz file with a time stamp in the file name is generated in the /tmp directory, such as
/tmp/SCMAI_Logs_min_hostname_20150207_105132.tar.gz.
You might receive a message that the system cannot find the path specified. You can ignore this
message.
3. Send the output file to your IBM Support representative.
Results
1
Table 1. Log files that are collected by the collectLogs.sh script (continued).
Component Log directory Log file name Description
System Information /opt/ibm/wlp/usr/ machine.info Date and time of collection,
of Performance servers/min/logs/ hostname, and network interface
Management server sysinfo configuration.
system.info System hardware and
configuration information.
cpu.info, memory.info, CPU, memory, and disk
disk.info configuration information.
mount.info Information about mounted
volumes.
nsswitch.conf Copy of etc/nsswitch.conf.
hosts Copy of etc/hosts.
resolve.conf DNS information generated by
the Network Manager.
tasklist.info Task list at time of collection.
maint.info Software packages installed at
the time of collection.
OSLC Service /opt/ibm/ccm/oslc_pm/ candle_installation.log Include installation environment
Provider logs information that is collected at
each restart.
UpdateAutoRun.log Sets up automation environment.
hostname_as.inv Index of log files.
hostname_as_NNNNNN.log Trace file for OSLC Performance
Monitoring service.
Service Component /opt/ibm/ccm/SCR/ msgGTM_CI.log.N
Registry XMLToolKit/log
msgGTM_XT.log.N
msgGTM_XT.log.N.lck
traceGTM_CI.log.N
traceGTM_XT.log.N
traceGTM_XT.log.N.lck
/opt/ibm/ccm/SCR/ xmltoolkitsvc.properties XML Toolkit configuration
XMLToolkit/bin information.
/opt/ibm/ccm/SCR/ DB maintenance scripts and SQL
XMLToolkit/log/ information.
install/maintenance
MongoDB /opt/ibm/mongodb/logs mongodb.log The main MongoDB log.
Root or administrator permission is required for the PD collector tool to collect system information from
the monitoring agents. You can review the agent logs individually in the following folders:
v install_dir\TMAITM6_x64\logs
v install_dir/logs
Procedure
1. On the command line, change to the agent directory:
v install_dir/bin
v install_dir\BIN
2. Run the following command:
v ./pdcollect
v pdcollect
A file with a time stamp in the file name is generated in the tmp directory, such as
/tmp/pdcollect-nc049021.tar.Z.
3. Send the output files to your IBM Support representative.
Also, check the installation path. The agent installation fails if parentheses or spaces are included in the
installation path. For example, C:\my downloads\APMaaS_Agent_Install_1.1(1) must be amended to
C:\mydownloads\APMaaS_Agent_Install_1.1 for a successful installation.
If a monitoring agent installation or upgrade from a previous version fails, the installation might have
been terminated abnormally. For example, you might close the command window while the monitoring
agent is being upgraded. An error message is displayed, such as KCICF9004E: Installation failed. See
C:\IBM\APM\InstallITM\Abort*.log file for more details.
Agent installation or upgrade fails
If the installer reports that the agent installation or upgrade fails, use the following command to
uninstall the monitoring agent, and start the installation again:
name_agent.sh uninstall
name_agent.bat uninstall
where name is the type of monitoring agent, such as os or rt.
If the uninstall command fails, clean up the environment and run the smai-agent.sh
ininstall_all.sh or agent_cleanup.bat script and start the installation again.
Framework installation or upgrade fails
If the installer reports that the framework installation or upgrade fails, clean up the home
directory and use the following command to uninstall all monitoring agents, and start the
installation again:
smai-agent.sh uninstall_all
smai-agent.bat uninstall_all
The activity log file includes all time-stamped interaction between the agent and the MIN server, so the
data exchange details can be examined, verified, and analyzed for correctness and for problem
determination. The log contains the following information:
v All agent and server send and receive buffers.
v Agent Service Interface, Private Situations, Event Exporter, Centralized Configuration Facility, EIF
emitter, and Agent Subscription Facility operation log messages.
7
v Centralized Configuration file download status.
v Private situation event state status.
v Configuration files processing and validation status.
v Other agent operation status messages.
To change the number of wrap-around files or maximum file size limit in the activity log, insert the
environment configuration parameter in the following files:
pc.ini file or global.environment file
KpcENV file
For the ASF-enabled agent, specifying Y (default) for the IRA_ASF_ACTIVITY_LOG configuration parameter
instructs ASF to create the following activity log file in the installation log directory or in member
KpcACTSF in the RKANDATU data set: pc_instance_asfActivity_agent-start-date_agent-start-time-
xx.log. For example:
lz_asfActivity_20140715_123015-01.log
r6_DTYA_asfActivity_20140707_201452-05.log
The following configuration parameters can be used:
IRA_ASF_ACTIVITY_LOG=
Y instructs ASF to create an activity log file and output all Subscription Network Task send and
receive data buffer content and other status data to the file, up to 1024 bytes in length. The default is
Y.
IRA_ASF_ACTIVITY_LOG_LIMIT=
Specifies the number of activity log files and the file size limit in MB. The default is
IRA_ASF_ACTIVITY_LOG_LIMIT=n,m. Where:
n Number of wrap-around files that the agent maintains. The maximum number of files is 50.
The default is 3.
m Number of MB for each agent run (start). The maximum number of MB is 99. The default is
10.
The agent manages a maximum of nine run sets of activity log files.
Chapter 2. Installation 9
Linux KVM agent: Installation errors on UNIX systems
The following messages apply to installation errors on UNIX systems:
v Installing the same version
v Unable to find running CMS
v Agent fails to start return code 11
v Failed to connect to data source
v bash: nc: command not found
See the symptom and solution for the message you received.
Important: This problem affects UNIX command-line installations. If you monitor Windows
environments only, this problem occurs if you install a product component, for example, a
monitoring server on a UNIX system.
Solution
You must exit and restart the installation process. You must not return to the list where you
selected the components to install. When you run the installer again, you must not attempt to
install any component that is installed.
Microsoft SQL Server agent: Installation failure with KGL and KGS
components on 32-bit Windows 2003 system
Symptom
The installation of Microsoft SQL Server agent fails with a KGL and KGS component error on a
32-bit Windows 2003 system.
Cause The prerequisite scanner does not work on a 32-bit Windows 2003 system.
Solution
Ensure that the prerequisite scanner does not run during the agent installation. To skip the
prerequisite scanner, add the SET SKIP_PRECHECK=Y variable in the mssql-agent.bat file.
Chapter 2. Installation 11
Microsoft SQL Server agent: Historical Data Collection collects data
after a slight delay
Symptom
Historical Data Collection takes some seconds more than the configured data collection interval
time to finish data collection. This delay gives an impression that some data rows are missing
when the collection interval is 1 minute.
Solution
Keep the collection interval to a minimum of 5 minutes and use a smaller interval for an attribute
group if it is critical.
Oracle Database agent: Cannot read remote alert log file on Windows
systems
Symptom
The Oracle Database agent cannot read the remote alert log file on Windows systems.
Solution
When you configure the Oracle Database agent to access the remote alert log file, apply the
following guidelines:
v The remote file path must follow the universal naming convention. For example,
\\tivx015\path\alert_orcl.log. And file path in a mapped network drive is not supported.
v The Oracle Database agent must run under an interactive user account, instead of the system
account.
v The files on the remote server can be accessed without a password, or the remote server is
connected by using the Oracle Database agent user account.
Chapter 2. Installation 13
using the OS host name file (OS_hostname_rz_agent_instance.cfg), but the agent loads the
configuration file by using the NetBIOS/NetworkAdapter host name file
(NetBIOS_hostname_rz_agent_instance.cfg).
Solution
Implement one of the following solutions:
v Change the system OS host name to match the NetBIOS host name, and reconfigure the agent.
v Copy the OS_hostname_rz_agent_instance.cfg file to the
NetBIOS_hostname_rz_agent_instance.cfg file.
v On a UNIX system, link the OS_hostname_rz_agent_instance.cfg file to the
NetBIOS_hostname_rz_agent_instance.cfg file.
SAP agent: Cannot connect to the SAP system by using the Logon
Group mode
Symptom
You cannot connect to the SAP system by using the Logon Group mode.
Solution
Use the following new environment variables:
v SAPLOGONGROUP: Name of the SAP logon group.
Chapter 2. Installation 15
v SAPMSGSERVER: Host name of the SAP message server. Alternatively, use an IP address.
v SAPMSGSERVICE: Message service name, for example, sapmsTV1 or a full message service
port number, for example, example: 3601.
v SAPROUTESTRING: Route string to the SAP system.
Note: You must include the service names in the following operating system services files:
v UNIX systems: /etc/services
v Windows systems: \windows\systems32\drivers\etc\services
Then, use the GNU tar to extract the archive by using the following command:
/opt/freeware/bin/tar -xf package.tar
When the Performance Management server installation fails, you might encounter the following error:
Mon Feb 9 08:02:56 CST 2015: rpmdb: PANIC: fatal region error detected; run recovery
Mon Feb 9 08:02:56 CST 2015: error: db3 error(-30974)
from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
Mon Feb 9 08:02:56 CST 2015: error: cannot open Packages index using db3 - (-30974)
Mon Feb 9 08:02:56 CST 2015: error: cannot open Packages database in /var/lib/rpm
Chapter 2. Installation 17
18 Troubleshooting for Performance Management Version 8.1 (On Premises):
Chapter 3. Integration
Review the integration troubleshooting symptoms and solutions for help with issues when integrating
with other products.
19
v Verify that the Tivoli Enterprise Portal Server user specified in the Hybrid Gateway
configuration has access to view all of the applications. For more information about the Hybrid
Gateway, see Integrating with Tivoli Monitoring.
v Review the Hybrid Gateway log file at /opt/ibm/wlp/usr/servers/hybridgateway/logs/
message.log.
For the WebSphere Applications agent, see the WebSphere Applications agent Troubleshooting
documentation.
For the Linux OS agent , UNIX OS agent, and Windows OS agent, see the Version 6.3 Fix Pack 2
documentation documentation on the wiki.
For the Response Time Monitoring Agent, see the Troubleshooting: Web Response Time topic in the
SmartCloud Application Performance Management Knowledge Center.
21
Solution
On AIX, you must set ulimit -d unlimited.
Note: For more information about values that relate to the model element, see CPU model
and topology (http://libvirt.org/formatdomain.html#elementsCPU)
3. Create a new virtual machine or domain by using the following command to update the
xml file: virsh create domain1.xml
v RHEL 6.x systems
1. On the command console, run the > virt-manager command.
2. In the Virtualization Manager window, double-click the VM to configure.
3. From the Virtual Machine window menu, select View > Details.
4. Select Processor. Then, in the Configuration section, set the CPU model, and in the
Topology section, set the topology details.
Host Memory and Virtual Machines data set attributes not available
Symptom
When the agent is installed on an RHEL 5.x system, or when an agent that is installed on an
RHEL5 or an RHEL6 system monitors an RHEL 5 KVM host, the following data sets and
attributes are not available:
Table 2. Data sets and attributes not available in RHEL 5 systems
Data set Attribute Value
Host Memory VM Memory Allocated 0
Percent Memory Used 0
VM Memory Allocated Fit Estimate Unavailable
Virtual Machines Memory Allocated (GB) Unavailable
Memory Used (GB) Unavailable
Memory Percent Unavailable
Chapter 4. Agent 23
Solution
This issue is a known issue with the RHEL 5.x environment. You must install the Linux KVM
agent and the KVM host on the RHEL 6.x. environment.
Microsoft Hyper-V Server agent: Agent log files are not in the
CANDLEHOME/tmaitm6/logs directory
Symptom
Agent log files are not in the CANDLEHOME/tmaitm6/logs directory.
Solution
If you reset the logging level to "none," and then turn logging back on by setting the logging
level to something other than "none," the Manage Monitoring Services utility automatically resets
the log directory to CANDLEHOME/logs.
Logging is not affected. Older logs remain in CANDLEHOME/TMAITM6/logs. New logs are placed in
CANDLEHOME/logs.
You can manually edit the ENV file using the Manage Monitoring Services utility:
1. Right-click the agent. Select Advanced > Edit ENV file.
2. Adjust the line prefixed by KBB_RAS1_LOG to the line in the example. You must substitute
ITM_HOME with the path to your installation directory.
-OR-
Chapter 4. Agent 25
You can also add "\TMAITM6" before all "\logs" in the KBB_RAS1_LOG line. Example:
KBB_RAS1_LOG=ITM_HOME\TMAITM6\logs\$(computername)_q5_kq5agent_$(sysutcstart)-.log
INVENTORY=ITM_HOME\TMAITM6\logs\$(computername)_q5_kq5agent.inv COUNT=03 LIMIT=5
PRESERVE=1 MAXFILES=9
Microsoft Hyper-V Server agent: Rollup errors occur in the agent log
file
Symptom
Rollup Error messages in the agent log file.
Solution
Rollup error messages occur when a base WMI query fails and no source data is available to "roll
up." Check the log for the initial WMI error to resolve. The rollup error disappears when the
initial problem is corrected.
Microsoft Hyper-V Server agent: VHD File Size (GB) displays 0 in the
Virtual Machine Details group widget
Symptom
On the dashboard, in the Virtual Machine Details group widget, the value of the VHD file size
(GB) attribute is shown as 0.
Cause The VHD file size is less than 500 MB.
Solution
A solution is not currently available.
Chapter 4. Agent 27
If this problem still persists, add the host name of the virtual machine in the host file that is
available at the etc/hosts path, and then refresh the dashboard.
where install_dir is the installation directory of the Microsoft .NET agent; new_log_path is the
customized log path; host_name is the name of the host where the agent is installed.
Chapter 4. Agent 29
v In the install_dir\TMAITM6_x64\rundotnetagent.bat file, specify the LOGDIR variable as
follows:
set LOGDIR=new_log_path
Remember: You can restore the WMI repository from the specified backup file by running the
following command:
winmgmt/restore filename flag
where flag can either be 1 or 0; where 1 implies that restore the WMI repository after
disconnecting the users and 0 implies that restore the WMI repository, if no users are
connected.
3. Reload the WMI classes. Issue the following commands in the specified order:
Wmiadap /c
This command clears performance library statuses.
Wmiadap /r
This command parses the Windows Driver Model drivers on the system to create
performance objects.
Note: The WMI classes take some time to reload. You must wait for at least 2 minutes to see
the updated classes.
Chapter 4. Agent 31
Data is not displayed for the ASP.NET Applications Request Status
(websockets) data set
Symptom
For Windows Server 2008 R2 and Windows Server 2008 SP2 systems, the dashboard does not
show data for the ASP.NET Applications Request Status (websockets) data set.
Solution
You must reload the Performance Monitor (Perfmon) for ASP.NET Apps v4.0 to retrieve data for
ASP.NET Applications Request Status (WebSockets) data set.
Complete the following steps to reload the Perfmon counters in Windows Server 2008 R2 and
Windows Server 2008 SP2 systems.
1. On the computer, open the command prompt.
2. To go to the System32 directory, run the following command:
cd %Systemroot%\System32
3. To reload the Perfmon counters that are related to ASP.NET Apps v4.0, run the following
command:
Lodctr /R C:\Windows\inf\ASP.NET_4.0.30319\0009\aspnet_perf.ini
Refresh the dashboard to view the data for ASP.NET Applications Request Status (WebSockets)
data set.
In this example, the agent loads JSO files that were generated in the last 30 minutes
(1800 seconds).
3) Restart the agent. Navigate to the install_dir\bin directory and enter the following
commands:
dotnet-agent.bat stop
dotnet-agent.bat start
c. If you registered the data collector profiler to collect all types of diagnostics and
transaction tracking data, increase the maximum heap size of the data collector, if it is not
large enough.
1) Enter cd install_dir\TMAITM6_x64
2) Open the rundotnetagent.bat script in a text editor.
3) Increase the value of the -Xmx parameter in the following line.
Important: The default value of -Xmx384m is provided for an environment where only
request data is collected. If you want to collect all types of data, increase the value to
-Xmx1024m or higher.
%JAVA_HOME%\bin\java" -classpath %CLASSPATH% -Dkqe.cache.interval=%KQE_CACHE
_INTERVAL% -Xmx384m -Djlog.propertyFileDir.CYN=%KQE_LOG_CONFIG%
-Dattributegroup.def.jar=%ATTRIBUTE_DEF%
-Ddc.runtime.dir=%DC_RUNTIME_DIR%
com.ibm.tivoli.monitoring.annotation.cpci.CommonAgentCustomClient
> %STDOUT_LOG% 2>&1
4) Restart the agent. Navigate to the install_dir\bin directory and enter the following
commands:
dotnet-agent.bat stop
dotnet-agent.bat start
5) Restart the .NET application.
If no JSO files are generated, complete these steps:
1. Verify that diagnostics data collection is enabled in the data collector configuration:
a. From the install_dir\qe\bin directory, to view the data collector configuration enter
configdc getconfig
b. Verify that the .NET Data Collector Enabled property is set to True and the HttpModule
property is set to Enabled. For example:
Configuration Enabled: True
.NET Data Collector Enabled: True
Transaction Application Server Enabled: True
Transaction Application Server Host: 127.0.0.1
Transaction Application Server Port: 5456
Profiler: Enabled
SOAP: Enabled
HttpModule: Enabled
ISAPI: Enabled
Trace Log Garbage Collection: Disabled
2. Verify that the profiler service is started. From a command prompt, enter net status
DotNetProfilerService.
If it is stopped, enter net start DotNetProfilerService.
Chapter 4. Agent 33
Microsoft SQL Server agent: Dashboard errors
You can use the Microsoft SQL Server agent: Dashboard errors topic to troubleshoot errors that relate to
the Microsoft SQL Server agent dashboard.
Incorrect data is displayed for two SQL Server databases with identical
names
Symptom
When you create two SQL Server databases with the same name, but precede one database name
with a space and the other database name without a space, the dashboard does not displays the
data properly.
Solution
The space at the beginning of the database name is truncated by the dashboard, making the two
databases look identical.
Avoid spaces at the beginning of a database name.
Dashboard displays incorrect value for some data sets when a custom
query is applied
Symptom
On the dashboard, incorrect values are displayed when a custom query is applied for the
following data sets:
v MS SQL Availability Groups Summary
v MS SQL Availability Database Summary
v MS SQL Availability Database Details
v MS SQL Availability Replicas Status Summary
v MS SQL Availability Replicas Details In Cluster
v MS SQL Service Broker Activation
Solution
Refresh the dashboard after applying the custom query for the following data sets:
v MS SQL Availability Groups Summary
v MS SQL Availability Database Summary
v MS SQL Availability Database Details
v MS SQL Availability Replicas Status Summary
v MS SQL Availability Replicas Details In Cluster
v MS SQL Service Broker Activation
For the Stolen Pages Growth attribute negative values are displayed
on the dashboard
Symptom
On the dashboard, the Stolen Pages Growth attribute displays negative values. The value for the
Stolen Pages Growth attribute is calculated on the basis of the previous and the current sample
data.
Solution
There is no solution to this problem.
Chapter 4. Agent 35
Solution
There is no solution to this problem.
Dashboard displays incorrect value for the Audit name attribute of the
Audit Details data set
Symptom
On the Tivoli Enterprise Portal, the Audit name attribute of the Audit details attribute group
displays an incorrect value when you specify the audit name in the following ways:
v If you specify the audit name with double quotation marks such as "TestAudit", then the audit
name on the portal is displayed without any quotation marks as TestAudit.
v If you specify the audit name with double quotation marks in the middle of the string such as
"Test"Audit, then the audit name on the portal is displayed with a single quotation mark and
the last character is truncated. The audit name is displayed as Test'Audi.
v If you specify the audit name with a single quotation mark as 'TestAudit', then the audit name
on the portal is displayed without any quotations marks as TestAudit.
Solution
There is no solution to this problem.
Note: You can permanently avoid this problem by selecting the Run at Startup check box of the
Situation Editor view for a specific situation.
Chapter 4. Agent 37
Microsoft SQL Server agent: Agent does not start
Symptom
Agent does not start.
Solution
Recycle the agent.
Microsoft SQL Server agent: Handle leak occurs during the collector
process
Symptom
For the SQL Server agent, a handle leak occurs during the collector process when the Active
Server Pages performance object uses the aspperf.dll file.
Solution
The Active Server Pages performance object loads on your local computer. If you are not using
this performance object for any other application, disable this performance object by completing
the following steps:
1. Add the Disable Performance Counter (DWORD) registry entry with value equal to 1.
2. Add the DWORD registry entry to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ASP\Performance registry subkey.
For more information about disabling the performance object, see Microsoft Support Knowledge
Base article 2962962 http://support.microsoft.com/kb/2962962
For the English language, update koqErrConfig.ini the file to reflect the following format:
[SQL_Latin1_General_CP1_CI_AS]
Error=Error:
Severity=Severity:
State=State:
Note: If you are using the 32-bit Microsoft SQL Server agent, the koqErrConfig.ini file is saved
in the candle_home\TMAITM6 directory. If you are using the 64-bit SQL Server agent, the
koqErrConfig.ini file is saved in the candle_home\TMAITM6_x64 directory.
Note: As the number of remote systems is increased, the CPU, memory, and network
utilization on the agent server also increase. A dedicated agent server might be added to
the environment to handle a large agentless monitoring environment.
Network cards
The network card configurations can decrease the performance of a system. Each stream
of packets that a network card receives (assuming that it is a broadcast or destined for the
under-performing system) must generate a CPU interrupt and transfer the data through
the I/O bus. If the network card in question is a bus-mastering card, work can be
offloaded and a data transfer between memory and the network card can continue
without using CPU processing power. Bus-mastering cards are 32 bit and are based on
PCI or EISA bus architectures.
Chapter 4. Agent 39
Solution
Check the RAS trace option settings. The trace option settings that are specified on the
KBB_RAS1= and KDC_DEBUG= lines generate large amounts of data.
Note: After you complete this test, you must restore the numeric values to valid levels so that
you do not generate excessive monitoring data based on your temporary settings.
Note: You might also see an OutOfMemoryError message in the knj_std_output.log file similar to
the following example:
Chapter 4. Agent 41
./nodejs-agent.sh stop
unset CANDLEHOME
./nodejs-agent.sh start
PHP agent: injection codes not removed after uninstalling the agent
Symptom
After you uninstall PHP agent, the WordPress agent plug-in installed by PHP agent is not
removed.
Cause Before you uninstall the agent, the injection codes were not successfully removed by running the
command install_dir/bin/lx8266/pj/lib/uninstall.instance_name.sh, or the command
uninstall.instance_name was not run before you uninstall the agent.
Solution
Remove the injection codes manually.
1. Remove the wordpress_dir/wp-content/plugins/wp-agent folder.
2. Remove the injection code from the wordpress_dir/wp-includes/load.php file. Here is the
code sample:
$insertTime="Tue Dec 30 02:41:10 UTC 2014";
$nowTime=exec("date -u");
$plgs= get_option( ’active_plugins’);
if(strtotime($nowTime) <= strtotime($insertTime)){
if(!$plgs||!in_array(’wp-agent/agent.php’, $plgs)){
array_push( $plgs, ’wp-agent/agent.php’ );
update_option( ’active_plugins’, $plgs );
}
}
3. Drop the following tables in the MySQL database:
v prefix_wp_stat_log
v prefix_req_stat_log
Python agent: injection codes not removed after uninstalling the agent
Symptom
After you uninstall Python agent, the injection codes are not removed.
Cause Before you uninstall the agent, the injection codes were not removed by running the command
install_dir/lx8266/pg/bin/uninstall.sh.
Solution
Go to the application folder and remove the injection codes manually.
1. Remove the kpg_project_id.py and kpg_project_id.pyc files.
2. Remove settings.py_kpg.bak and settings.py.project_id files.
3. Remove the line 'app_folder_name.kpg_project_id.KPG_Middleware' from
MIDDLEWARE_CLASSES in the settings.py file.
Chapter 4. Agent 43
4. Remove the wsgi.py_kpg.py file.
5. Go to the Apache configuration folder, for example /usr/local/apache2/conf, and recover the
httpd.conf file by removing the following section from the file:
<Location /server-status>xxx</Location>
If you have a Ruby application but do not see it in the list of available instances for adding to an
application, read the symptoms, possible cause, and solution.
Symptom
While attempting to add a Ruby instance to an application (instructions in Managing
applications), you do not see a started instance in the list.
The Ruby instance was added to an application but does not appear in the Application
Performance Dashboard.
Cause The Ruby instance was started with daemonized Ruby processes. For example, you started the
Ruby on Rails application using the rails server command with a -d argument.
Solution
Do not run Ruby applications in a daemon process.
SAP agent: Managed system names that show up under SAP agent in
the dashboard are incorrect
Symptom
The managed system names that show up under SAP Agent in the dashboard are incorrect.
Your MSN is not in this form: SID-SAP-Host:mySAP
Your MSN is some other string, and all instances of the monitoring agent show up under this one
managed system name, for example:
agent host
SAP agent
managed system name
SAP
TV2-amsaix25_TV2_00:Ins
TV2-amsaix25:Sys
TV2-amshp8_TV2_22:Ins
TV3-amsaix26_TV3_01:Ins
TV3-amsaix26:Sys
TV3-amssol19_TV3h_10:Ins
Solution
Check to see whether CTIRA_HOSTNAME is set, either globally or in the agent configuration
file, and if the MSN you see in the dashboard under the SAP agent is the value of
CTIRA_HOSTNAME. If so, do not set the environment variable CTIRA_HOSTNAME for the SAP
agent. The monitoring agent cannot properly create the managed system names when this
environment variable is set. If you need to set CTIRA_HOSTNAME for other monitoring agents,
set the variable in the agent configuration file instead of setting it globally.
Chapter 4. Agent 45
2. Open the trace options file.
v On Windows systems:
install_dir\TAMITM6_x64\KSAENV
v On UNIXsystems:
export KBB_RAS1=’ERROR (UNIT:ksa ALL) (UNIT:kra ALL)’
3. Edit the line that begins with KBB_RAS1= to set trace logging preferences.
For example, if you want detailed trace logging, set the Maximum Tracing option:
v On Windows systems:
KBB_RAS1=ERROR (UNIT:ksa ALL) (UNIT:kra ALL)
v On UNIX systems:
export KBB_RAS1=’ERROR (UNIT:ksa ALL) (UNIT:kra ALL)’
4. Edit the line that begins with KBB_RAS1_LOG= to manage the generation of log files:
v Edit the following parameters to adjust the number of rolling log files and their size.
– MAXFILES: the total number of files that are to be kept for all startups of a program.
When this value is exceeded, the oldest log files are discarded. Default value is 9.
– LIMIT: the maximum size, in megabytes (MB) of an RAS1 log file. Default value is 5.
IBM Software Support might guide you to modify the following parameters:
v COUNT: the number of log files to keep in the rolling cycle of one program startup. Default
value is 3.
v PRESERVE: the number of files that are not to be reused in the rolling cycle of one program
startup. Default value is 1.
The KBB_RAS1_LOG parameter also provides for the specification of the log file directory, log file
name, and the inventory control file directory and name. Do not modify these values or log
information can be lost.
5. Restart the monitoring agent so that your changes take effect.
SAP agent: mySAP server does not start when using port 3661
Symptom
The mySAP server does not start when using port 3661.
Solution
Change the current setting of KDC_FAMILIES=$NETWORKPROTOCOL$ to
KDC_FAMILIES=HTTPS:0 in both of the SAP agent.configuration files (*.config and *.ini).
SAP agent: Attributes do not allow non-ASCII input when you are
creating an eventing threshold
Symptom
When you are creating an eventing threshold, attributes do not allow non-ASCII input.
Solution
None. Any attribute that does not include “(Unicode)” might support only ASCII characters. For
example, “Attribute (Unicode)” supports Unicode but “Attribute” without “(Unicode)” might
support ASCII characters only.
SAP agent: Return code 8 or return code 12 occurs on the main import
step
Symptom
Return code 8 or return code 12 occurs on the main import step.
Solution
This return code is related to DYNPRO format incompatibility or export/import (specifically table
EUDB) incompatibility. These errors occur if the R3trans program is old or the Basis support
package maintenance is low.
Upgrade R3trans program or Basis support level SAP Notes that describe the minimum R3trans
and Basis support packages are documented in the following OSS Notes: 330267, 454321, 743155.
SAP agent: Agent does not start if RFC library is not copied to the
correct path
Symptom
If you do not copy the RFC library to the correct path, the agent does not start and the following
error is reported in the agent log:
Error in agent log: /opt/ibm/apm/agent/lx8266/sa/bin ksaagent: error while loading
shared libraries: libsapnwrfc.so: cannot open shared object file: No such file or
directory
Solution
Information about copying the RFC library to the correct path is as follows:
v For Windows environment:
Copy the RFC library at %CANDLE_HOME%/TMAITM6_x64 for a 64-bit agent on a 64-bit Windows
computer.
v For non-Windows environment:
Copy the SAP NetWeaver RFC SDK V7.20 libraries into the <<INSTALL_DIR>>/<<intrp>>/sa/lib
where
Chapter 4. Agent 47
– INSTALL_DIR is SaaS Agent installation directory
– intrp is lx8266 for Linux 64-bit and aix526 for AIX® 64-bit
Note: The recommended size of ABAP heap size is 2 GB. However, you can increase the size.
where component is the name of the component that you are attempting to install.
Solution
You must exit and restart the installation process. You cannot return to the list where you selected
components to install. When you run the installer again, do not attempt to install any component
that is already installed.
SAP agent: Tivoli Monitoring alert 9912 and SAP syslog message
Symptom
You receive Tivoli Monitoring alert 9912: CCMS alerts collection did not complete, SAP syslog
message ??ccms_rfc_error????, or both of these alerts. You might also receive ABAP dumps from
the /IBMMON/ITM_ALERTS and /IBMMON/ITM_CCMS_ALERTS function modules that are provided by the
SAP agent.
SAP agent: Transaction not valid error when you run the
/IBMMON/ITM_* transactions
Symptom
When you run the /IBMMON/ITM_* transactions, you get an error that indicates that the
transaction is not valid.
Solution
Preface all /IBMMON/ITM_* transactions with /n or /o.
SAP agent: Values shown are not correct when you edit the
configuration for an existing monitoring agent
Symptom
When you edit the configuration for an existing monitoring agent, the values that are shown are
not correct.
Solution
The original configuration settings might include non-ASCII characters. These values were stored
incorrectly and result in the incorrect display. Enter new values by using only ASCII characters.
Chapter 4. Agent 49
v Maintain Log File Names
v Maintain ITM Managed Groups Definitions
v Select CCMS Monitor Sets and Monitors
Solution
This outcome is expected. These value lists are presented in English only regardless of the SAP
logon language.
Ensure that the JMX remote is enabled in the Tomcat server. For instructions, see Enabling JMX
Remote (https://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling_JMX_Remote).
If, after these checks, the server is still not monitored, rerun the configuration for the agent,
ensuring that you enter correct information.
Attribute groups for the ESX Server component are not displayed
Symptom
Attribute groups for the ESX Server component are not displayed at the VMware Virtual
Infrastructure level in the Attribute Details tab.
Solution
A solution is not currently available.
Chapter 4. Agent 51
Linux systems: From the install_dir/config directory, open the yn.ini file for
a WebSphere Applications agent.
Windows systems: From the install_dir\TMAITM6_x64 directory, open the
KYNENV file for a WebSphere Applications agent or the KQEENV file for a Microsoft .NET
agent.
2. Set the KBB_RAS1 environment variable to ERROR (COMP:TFE ERROR METRICS)
3. Restart the agent to implement your changes.
Linux systems: Change to the /install_dir/bin directory, and enter the
command ./was-agent.sh start for a WebSphere Applications agent.
Windows systems: Change to the install_dirbin directory, and enter the
command was.bat start for a WebSphere Applications agent or the dotnet.bat start
command for a Microsoft .NET agent.
v Edit the KBB_RAS1 environment variable through the Service Console web browser.
1. From a web browser, open the Service Console by entering the URL http://
agent_hostname:1920 in the address field of the browser.
2. From the service index, click the link below the agent whose trace settings you want to
modify.
3. Enter the user ID and password of the agent when prompted.
4. In the command field, enter ERROR (COMP:TFE ERROR METRICS)
The RAS1 log files are updated regularly with logCount() entries for various metrics.
If you see too few incoming EventServer events in the log, your agent may not be reporting
transactions properly.
If you see high number of drop counts or large queue sizes in the log, your agent may have a
performance issue or one of the services might be down.
To view logCount() messages more frequently, increase the frequency with which metrics are
logged by the agent.
1. Open the Transaction Framework Extension configuration file, tfe.cfg, in a text editor.
Linux systems: From the install_dir/localconfig/yn directory for a WebSphere
Applications agent, open the tfe.cfg file.
Windows systems: From the install_dir\localconfig\yn directory for a
WebSphere Applications agent or the C:\IBM\APM\qe\config directory for a Microsoft .NET
agent agent, open the tfe.cfg file.
2. Decrease the value of the DIAGNOSTIC_SLEEP_MINS parameter to log metrics more frequently.
The default value is 30 minutes.
53
1. Use custom certificates that are signed by an official CA authority, for example, GeoTrust. See
the“Configuring a CA custom certificate” topic in the IBM Monitoring Knowledge Center.
where
APM_UI_port is 9443 for HTTPS (or 8080 for HTTP)
APM_admin is a user ID with administrative authority (apmadmin is the default)
APM_password is the password that is associated with the user ID
55
1. Log on to the ASI using the root ID (such as http://agentIPaddress:51920).
2. Select Service Interface Request.
3. Enter ListAAGP in the text box and click Submit the Request to get the default AAGP
specification.
4. Copy the default specification that is displayed in the Agent Response Payload box, and paste
into a text editor. Sample payload:
<AAGP>
<AAGROUP>
<GROUPNAME>Administrative</GROUPNAME>
<CLI>ExecCommand</CLI>
<REFLEXAUTO>ExecAction</REFLEXAUTO>
<SIAPI>AAGP</SIAPI>
SIAPI>AgentInfo</SIAPI>
SIAPI>AttrList</SIAPI>
SIAPI>CnfgCommand</SIAPI>
SIAPI>CnfgControl</SIAPI>
...
5. Edit the text to add the smadmin to the AD (administrative) group, as shown in the following
example:
<ASSIGN>OP</ASSIGN>
</AAUSER>
<AAUSER>
<ID>root</ID>
<ASSIGN>AD</ASSIGN>
</AAUSER>
<AAUSER>
<ID>smadmin</ID>
<ASSIGN>AD</ASSIGN>
</AAUSER>
</AAGP>
6. To reconfigure the agent without restarting it, change the first line of the file to <AAGP
REFRESH="Y">.
7. Save the text file (for example AAGPupdate.txt).
8. Return to the Service Interface Request page and paste the updated AAGP specification from
the text file to the input box and click Submit the Request.
After the “Request completed successfully” response is displayed, the agent has a new file named
lz_aagpcnfg.txt in the $CANDLEHOME$/localconfig/lz directory. It has the configuration necessary
for the user (such as smaiuser) to access ASI transactions and for the Performance Management
server to connect to the agent and retrieve data.
Chapter 6. Dashboard 57
20522 corresponds to the product ID of the application
4959124 corresponded to the system's memory
If the line starts with the pound sign (#) instead of the app_name, you must reconfigure
the Ruby agent instance to include the Ruby runtime binary location.
Historical data doesn't change after you adjust the time selector
Some of the dashboard widgets show metrics that are based on a time range. You can adjust the time
selector for widgets whose values are derived from historical data. If you adjusted the time but the
widgets do not change to show the new time range, adjust the time for All Applications.
Symptom
In the displayed dashboard, you adjusted the time selector from the default Last 4 Hours or other
value but the historical widgets are not updated to the chosen time range.
Solution
Open the time selector, choose the time range, and select All Applications. The All Applications
option applies the time range to all defined applications in your monitored environment.
59
60 Troubleshooting for Performance Management Version 8.1 (On Premises):
Chapter 8. Performance Management Cognos Reports
There are four predefined historical reports available in Performance Management. The reports are based
on data collected by the Response Time Monitoring Agent. Review the troubleshooting symptoms and
solutions for help with report issues.
61
Reports: Application names are inconsistent in the All My Applications
report
Symptom
When a single Response Time Monitoring Agent application is mapped to multiple Performance
Management applications, only a single (randomly selected) custom Performance Management
name is displayed in the All My Applications report. The data that is displayed is correct, but
application name labels differ for different charts in the report.
Solution
This issue is known. If you select an application in APM UI and then view a report that is based
on this application, the data is displayed correctly.
Printed in USA