Issues in Port Monitoring Using CA
Issues in Port Monitoring Using CA in CA Monitoring Issues.
Issues in Port Monitoring Using CA#
Case 1: Configuring the Host IP and Port for Monitoring#
For Port Status KPIs, configure the host IP and port as follows:
<hostIp,Port>
This indicates whether the specified port is in the Established or Listen state and marks it available (GREEN) in the UI.
For Network Utilization KPIs, use:
<host.port> or <host:port>
This updates the count of each state of the specified port, such as TIME_WAIT, SYN_SENT, and so on.
OHS Monitoring using CA#
Check whether the TLS version used by OHS matches the CA.
1. If OHS uses a lower TLS/SSL version, add the following line to the advanced.properties file of the CA so it uses the configured TLS/SSL version:
component.agent.ssl.versions=TLSv1
Component Agent for Process Monitoring#
Case 1: Specific Process Monitoring#
Follow the steps below to configure monitoring of a specific process:
1. Identify the unique keyword of the process to monitor. For example, to monitor the rsyslogd process.
2. Find the instance name and ID of the server where the process runs in the comp_instance table (for example, instance RHEL_203.0.113.8_Inst_1, comp_instance_id=6), then search comp_instance_id=6 in the comp_instance_kpi_group_details table.
3. In comp_instance_kpi_group_details, the mst_kpi_details_id values 32, 33, 34, 35, and 36 correspond respectively to PROC_CPU_UTIL, PROC_MEM_UTIL, PROC_THREAD_COUNT, PROC_FILE_HANDLES, and PROC_PHYSICAL_MEM.
4. If two processes (for example, sshd and java) are already monitored and sshd is not required, update the entry to rsyslogd instead, or add a new entry with an insert statement.
5. After adding the new process, review the comp_instance_kpi_group_details entries.
6. Stop the Component Agent, remove agent-details.json, and start the CA.
7. Validate that the new process entries are present in agent-details.json.
8. Data collection will initially show in the UI as Preview unavailable.
Unable to get KPI data for monitoring process#
Error: instead of a KPI value, the following error is returned:
E1216::Process not found, so kpi "{0}" data collection wont happen for
group "{1}" for producer "{2}" instance for component "{3}" instance.
Follow the steps below to rectify the issue:
1. In the comp_instance_kpi_group_details table, check that the attribute values are configured correctly.
For example (Windows server): for comp_instance Zobble-App-Host-155 (id=366, host_address=192.0.2.162), the attribute_value for the process KPIs (mst_kpi_group_id=4) was stored with the .exe suffix, which prevents matching:
-- Incorrect (attribute_value includes .exe)
id attribute_value mst_kpi_details_id kpi_group_name
12152 w3wp.exe 32 ProcessUtilization
12153 w3wp.exe 33 ProcessUtilization
12154 w3wp.exe 34 ProcessUtilization
12155 w3wp.exe 35 ProcessUtilization
Update the values to remove the .exe suffix:
-- Correct (attribute_value without .exe)
id attribute_value mst_kpi_details_id kpi_group_name
12152 w3wp 32 ProcessUtilization
12153 w3wp 33 ProcessUtilization
12154 w3wp 34 ProcessUtilization
12155 w3wp 35 ProcessUtilization
The process name must not include .exe. After removing the suffix from the entry, data collection for the process KPIs starts.
Frequent Info Alerts Triggered by Config Watch on CA Restart#
Issue: config watch triggers info alerts each time the Component Agent restarts.
Case 1: this can occur when multiple instances of the CA run concurrently on the target server.
High CPU Utilization Post CA Agent Upgrade#
Issue: after upgrading the CA, CPU utilization increased noticeably.
Solution: tune the thread-pool sizes in the advanced.properties file of the Component Agent to better align with the expected CPU utilization:
# Old values
component.agent.producers.minute.threadpool.size=8
component.agent.producers.long.running.threadpool.size=4
# New values
component.agent.producers.minute.threadpool.size=5
component.agent.producers.long.running.threadpool.size=2
Note: This adjustment assumes an 8-core box with a load average between 2 and 3.
Oracle Component Data Collection Issues#
Case 1: data was not captured for Oracle component KPIs in one application, despite proper configuration on two AIX servers.
Solution: the CA logs showed an invalid characters encountered at end of base64 data exception, traced to incorrect passwords in the comp_instance_attribute_values table for the relevant IPs. Correcting the passwords and restarting the CA resolved the collection issue.
Case 2: an error was observed:
E1020 javax.management.JMRuntimeException: ADMN0022E: Access is denied
for the getStatsArray operation on Perf MBean due to insufficient or
empty credentials.
Solution: this was caused by incorrect password encryption. The wrong password had been stored in the comp_instance_attribute_values table. Updating the table with the correct password resolved the issue and data collection commenced.