WebSphere IBM WAS (BASE 9.0.5.8) Performance KPIs Data Collection Issue
WebSphere IBM WAS (BASE 9.0.5.8) Performance KPIs Data Collection Issue in CA KPI Issues.
WebSphere IBM WAS (BASE 9.0.5.8) Performance KPIs Data Collection Issue#
There was a problem collecting first-level performance KPI data for WebSphere IBM WAS (BASE 9.0.5.8). The system logged a warning about a missing WebSphere certificate file, an issue initializing the WebSphere connection, and a ConnectorException.
Solution: monitored statistics were not enabled in the WebSphere console general properties, causing the KPI collection failure. Enable monitored statistics in the WebSphere console. The application team should complete these prerequisites.

Oracle-DB Component KPI Monitoring Issue#
Errors were logged in the CA for Oracle component KPI data, including ORA-01882 Timezone region not found and ORA-00604 error occurred at recursive SQL level 1.
Solution: the existing CA library used ojdbc7.12.jar. Replacing it with ojdbc6.jar initially produced a jdbcdriver not loaded error, indicating a hard-coded library dependency. Substituting the jar with an appropriately named version resolved the issue, allowing proper monitoring of the Oracle-DB component KPIs.
Issue with Data Collection for DB Host Level KPIs#
Data collection for DB-level KPIs was unsuccessful, indicated by the CA log error Unable to connect the server '192.0.2.94:1122' with user '<db-user>'.
Solution:
1. Move the jsch-0.1.54.jar file in the ComponentAgent/lib directory to a different directory.
2. Deploy the provided jsch-0.1.54(1).jar file in the ComponentAgent/lib directory.
3. Restart the Component Agent and validate data collection.
Difficulty in Collecting Data for Liserver KPIs#
Data collection issues were noted for GUP and SOD KPIs despite updated patterns. Certain KPIs like LIMO_SERVER_STATUS, MARIA_SERVER_STATUS, and LISRVR_SERVER_STATUS collected data, but the last three KPIs did not, because the first four KPIs had no attribute values passed. The script did not accept blank values and defaulted to using the last three attribute values, leading to collection for only the first three KPIs.
Solution: attribute values must be provided for these KPIs. If attributes for some of the seven KPIs are missing, enter na as the attribute value instead of leaving it blank. This enables correct data collection for all specified KPIs.
Missing KPI Values and Graphs in Availability Category#
The issue was identified in the agent-detail.json file. When isKpiGroup was true and kpiGroupId had a value, kpiGroupName was null:
"isKpiGroup" : true,
"isDiscovery" : false,
"kpiGroupId" : 222,
"kpiGroupName" : null,
1. The problem occurred because the KPI was created as a group KPI with an entry in the comp_instance_kpi_details table, or vice versa.
2. It was created as a non-group KPI with an entry in the comp_instance_kpi_group_details table.
Solution:
1. Verify whether the KPI is a group or non-group KPI.
2. Update the mst_kpi_details table accordingly.
3. Restart Keycloak.
Tomcat JMX KPIs Data Collection Issue#
In the CA logs, the attribute data type was not specified for a certain object in the JMX Producer, along with a NullPointerException:
java.lang.NullPointerException: null
at com.appnomic.appsone.componentagent.jmx.JmxProducer.init(JmxProducer.java:55)
Solution:
1. Checking the Percona jmx_producer table with mst_producer_id=87 revealed empty values.
2. This absence in the jmx_producer table caused the issue.
3. Manually insert the required entries into the jmx_producer table for java.lang:type=Threading, java.lang:type=OperatingSystem, and java.lang:type=Memory with the appropriate details.
4. Restart the CA. The JMX KPI data collection becomes functional.
Note: This solution was implemented on a RHEL 8.x box.
Data Breakage Issue#
Case 1: OpenSearch Node Down & Infrastructure Setup Steps#
All KPI data breakage occurred because an OpenSearch node was down.
Solution:
1. Preparation: extract Master_services.tar and obtain the required RPM.tar.gz.
2. RPM transfer: copy the Podman, Nomad, and Consul RPMs to the new server.
3. Installation: install Nomad, Consul, and Podman with rpm -Uvh <rpm name>.
4. Configuration files: transfer nomad.hcl and consul.hcl from a working server and update them with the new server IP.
5. Ownership: update the ownership of the nomad.hcl and consul.hcl directories to their respective services.
6. Firewall configuration: add the necessary ports for the new server in the firewall.
7. Nomad troubleshooting: if the Nomad cluster is not forming, remove all files (except the plugins directory) in a1home/nomad, which allows Nomad to start.
8. Consul setup: perform a similar cleanup for Consul.
9. OpenSearch startup issue: resolve the library error by disabling SELinux (setenforce 0).
10. OpenSearch configuration: address a bootstrap-check failure by adjusting vm.max_map_count in /etc/sysctl.conf based on a working server.
Case 2: Timeout Issues#
Errors were encountered connecting to OpenSearch nodes due to timeouts, affecting data transmission.
Apr 27 2023 12:57:19.099 PM [SinkIndexes RUNNING] ERROR - Timeout
connecting to Opensearch nodes at addresses 192.0.2.95:9200,
192.0.2.96:9200, 192.0.2.97:9200 with protocol https and username: admin
Solution: the issue was a lack of an open port 9200 between the Web node and the DB node. Stop the DR process from the Web node to resolve the issue. For future scaling of the data receiver, proceed from the APP2 node, which has port 9200 open for communication with the database.
Missing KPI Data in Various Time Windows#
Data was missing for several KPIs over the last 4/12/24 hours because rollup_operation was not set as Last in OpenSearch.
Solution: update the rollup_operation column in the mst_kpi_details table:
UPDATE mst_kpi_details SET rollup_operation='Average' WHERE id=<kpi_id>;
Oracle DB Data Breakage#
Data breakages for component KPIs in DB instances, with errors indicating missing tables or views.
Solution: disable the problematic producers and adjust the collection intervals for the required KPIs.