Resin 2.1.7 Version Application Service Issue
Resin 2.1.7 Version Application Service Issue in Key Performance Indicator (KPI) Issues.
Resin 2.1.7 Version Application Service Issue#
Resin 2.1.7 version is not supported, leading to service startup issues.
Solution:
1. Script Argument Modification: Modify the httpd.sh file for the Resin application to include additional JVM arguments:
args="-Dcom.sun.management.jmxremote -
Dcom.sun.management.jmxremote.port=1099 -
Dcom.sun.management.jmxremote.authenticate=false -
Dcom.sun.management.jmxremote.ssl=false -J-ms48m"
2. Service Startup and Verification: After adding the arguments to the httpd.sh file, verify that the Resin service started up and functioning as expected.
Issue with Changing Producer & Thresholds for URL Status KPI#
Unable to change the producer and thresholds from the CC UI for the URL status KPI.
Solution:
1. Database Table Update: Resolve the issue by updating the is_default field in the mst_producer_kpi_mapping table to 1 .
2. Query Reference: Provide a text file with the necessary queries for reference to facilitate future similar updates.
KPI Data Issue#
Below are the KPI Data Issues:
- Custom JDBC-Related KPI Data Collection Issue
- Apache 1.3 Version OOB Data Collection Issue
- Data Breakage Due to High KPI Count on a Target Server
- Data Not Collected for Custom KPI
- Data Collection Issue for URL Availability KPI
- Data Collection Issue for JDBC Query E1046
- Data Collection Issue After OS Upgradation
For reference:
The following section contains basic Linux commands: Basic Commands
Custom JDBC-Related KPI Data Collection Issue#
Issue:
The KPI data collection was not occurring due to a mismatch in the case sensitivity of the kpiIdentifier . The identifier was in lowercase, while the component agent converted it to uppercase during execution, leading to a mismatch in data processing.
Solution:
1. Updated the kpiIdentifier and corresponding column name in the query to uppercase to match the component agent's output format.
Apache 1.3 Version OOB Data Collection Issue#
Custom KPIs created from the CC UI for Apache 1.3 were not being collected.
Solution:
1. Producer-KPI Mapping: Manually map the KPIs to the existing producer by inserting entries into the mst_producer_kpi_mapping table:
insert into appsone.mst_producer_kpi_mapping values(9103, 229, 1,
now(), '7640123a-fbde-4fe5-9812-581cd1e3a9c1', 1, 2014, 35,
13, 3, 0, 1);
2. Control Agent Restart: Restart the Component Agent (CA) to apply these mappings.
3. Data Collection Verification: Confirm if the data collection commenced post-restart.
2. Executed the following SQL updates:
update mst_kpi_details set identifier='DBUSER_ACCOUNT_LOCK_COUNT'
where id=<>;
updated jdbc_producer set query="select /*+RULE*/ count() as
DBUSER_ACCOUNT_LOCK_COUNT from dba_users where username in
('TBAADM','TBAGEN','TBAUTIL','CEADM','SSOADM','SSOGEN','SSOUTIL','CR
MUSER','SVSUSER','ECECUSER','APPSONEDB') AND
ACCOUNT_STATUS='LOCKED'" where mst_producer_id=<>;
3. After the updates, data collection will commence successfully, and the data will be visible in the UI.
Data Breakage Due to High KPI Count on a Target Server#
Issue:
Data breakage occurred due to a large number of KPIs (1603) being collected from a single target server. This server had 6 WAS services running, each mapped to different applications, and also collected KPI data remotely for DB servers.
Solution:
1. Configuration Changes: Adjust the thread pool sizes and queue sizes to accommodate the high volume of KPIs based on the number of cores available on the target server.
a. Modify the following configuration changes, tailored for a server with 14 cores:
minute.threadpool.size to 60 from 40
minute.threadpool.queuesize to 650 from 250
long.running.threadpool.size to 14 from 7
component.agent.jdbc.producer.min.pool.size = 3
component.agent.jdbc.producer.max.pool.size = 10
2. Issue Resolution: These configuration adjustments resolves the data breakage issue, allowing for efficient handling of the large KPI count.
Data Not Collected for Custom KPI#
Issue:
Unable to collect data for a custom KPI due to a mismatch in the KPI type. The KPI was marked as a Core KPI type in the producer script output but created as an Availability KPI type.
Solution:
1. KPI Type Update: Update the KPI type in the database to match the producer script output:
updated the kpiType: Core instead of kpiType: Availability in DB
2. Data Collection Resumption: After updating the KPI type, the data collection should commence successfully for the custom KPI.
Data Collection Issue for URL Availability KPI#
Issue:
Data collection for the URL availability KPI was not occurring due to an incorrect pattern in the script output.
Error in Script Output:
a. Incorrect format with an irrelevant E1046 pattern.
b. The current output format was mismatched, causing issues in parsing by the Component Agent.
Correct Format:
URL_AVAILABILITY#@#0#@#FSBHTTP#@#true#@##@#Availability
URL_AVAILABILITY#@#0#@#FSBWEBSERVICE#@#true#@##@#Availability
Solution:
1. Script Output Correction: Modify the script to output data in the correct format, aligning with expected parsing patterns.
2. Data Collection Verification: Post-correction, verify if the Component Agent could successfully parse and collect data.

Data Collection Issue for JDBC Query E1046#
Issue:
Data collection was not happening for certain JDBC queries due to a mismatch between the KPI identifier and the resultant query column name.
Solution:
1. JDBC Query Update: Update the JDBC query in the JDBC producer table to ensure that the column name matches the KPI identifier.
2. Data Collection Resumption: After updating the JDBC query, the data collection should began as expected.
Data Collection Issue After OS Upgradation#
After upgrading the operating system (OS), data collection is not occurring.
The data receiver service is operational; however, the logs are unable to connect to Redis.

Solution:
1. RCA: The issue lies with the mounting of the conf.properties file in the data receiver Nomad file. The Nomad file expects a Redis password, which is not present in the mounted conf.properties.
2. To resolve the issue, update the conf.properties file with the Redis password and restart the data receiver service to resolve the issue.