Skip to content

Troubleshooting Missing Data in HEAL

Diagnose why agents are running but data is not appearing in HEAL.

5 min read Updated SS

Troubleshooting Missing Data in HEAL#

Troubleshooting problems where agents are running but data is not appearing in HEAL.


No Data in HEAL UI at All#

Symptom: HEAL UI shows empty Health Summary — no CPU, Memory, Disk metrics. Message: "Heal has not received any Workload Behaviour data on this service for the selected time range."

Most Common Issue After Fresh Install

This is almost always caused by missing or misconfigured tenant mappings in Percona.

Diagnosis:

# Check Data Receiver logs for tenant lookup failures
ssh root@<HEAL_SERVER_3_IP>
docker exec $(docker ps --format '{{.Names}}' | grep DATA_RECEIVER) \
  tail -50 /tmp/logs/data-receiver.log | grep "Could not get the tenant"

If you see: Could not get the tenant details for account:<name>, zone:MISC — the tenant tables are missing or have wrong identifiers.

Fix: Follow the Multi-Tenancy (Percona) guide, specifically:

  1. Run the MultiTenancy script
  2. Fix the tenant identifier mismatch (CamelCase → lowercase_underscore)
  3. Restart the Data Receiver

Verify:

curl -sk -u "$OS_USER:$OS_PASS" "https://<OPENSEARCH_IP>:9211/_cat/indices?v&s=index" | grep heal_
# Should show heal_collated_kpi_* and heal_raw_kpi_* indices with docs.count > 0

No Host Metrics (CPU, Memory, Disk)#

Symptom: Component-level KPIs (JVM, Threads) appear but no host-level metrics.

Diagnosis:

# Check if Component Agent is running
ps -ef | grep component-agent | grep -v grep

# Check if host producer scripts are running
tail -100 /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/logs/component-agent.log | grep "Data send success"

Common Causes:

Cause Fix
Component Agent not running Supervisor auto-restarts via selfheal (every 10 min)
Producer scripts failing Check script permissions in /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/producers/
Agent not mapped to Host instance Verify in Control Center → Setup → Monitoring → Services → Manage Service → Instances

No Component Metrics (JVM, GC, Threads)#

Symptom: Host metrics appear but JVM/GC/Thread metrics are missing.

Diagnosis:

# Check if JMX port is listening
netstat -tunlp | grep 11001

# Check if Tomcat has JMX arguments
ps -ef | grep tomcat | grep jmxremote

Common Causes:

Cause Fix
JMX port not listening Monitor-JVM not injecting — see Agent Issues
JMX port blocked by firewall Open port 11001 or check local firewall rules
Wrong JMX port in agent config Verify in agent-details.json

No Traces in Jaeger#

Symptom: Jaeger UI at http://<IP>:16686 shows no traces.

See Agent Issues — JIM Agent Not Producing Traces for detailed steps.


ConfigWatch Data Not Appearing#

Symptom: ConfigWatch category in the left sidebar shows cards with "Data Not Available", or ConfigWatch doesn't appear at all.

Step 1: Check the Time Range#

Most Common Cause

ConfigWatch data is collected every **12 hours** (except TLS Details at 24 minutes). If you select "Last 30 mins" or "Last 1 hour", the data will likely fall outside the window.

Fix: Change the time range to Last 12 hours or Last 24 hours in the top-right time picker.

Step 2: Check if Data Exists in OpenSearch#

# SSH to the OpenSearch server (Server 3)
# Check raw index for ConfigWatch data
DATE=$(date -u +%Y.%m.%d)
curl -sk -u healadmin:<password> \
  "https://<OPENSEARCH_IP>:9211/heal_raw_kpi_<account>_${DATE}/_count" \
  -H 'Content-Type: application/json' \
  -d '{"query":{"bool":{"should":[
    {"term":{"kpiType":"ConfigWatch"}},
    {"term":{"kpiType":"FileWatch"}}
  ]}}}'
  • Count > 0: Data is being collected. The issue is in the UI or collated index (see Step 3).
  • Count = 0: Data is NOT being collected. Check the agent (see Step 4).

Step 3: Check if Data Exists in Collated Index#

The UI reads from the collated index, not the raw index. ConfigWatch data goes to the raw index first and must be collated.

# Check collated index
# Week format: YYYY.wWW (ISO week)
WEEK=$(date -u +%Y.w%V)
curl -sk -u healadmin:<password> \
  "https://<OPENSEARCH_IP>:9211/heal_collated_kpi_<account>_${WEEK}/_count" \
  -H 'Content-Type: application/json' \
  -d '{"query":{"bool":{"should":[
    {"term":{"kpiType":"ConfigWatch"}},
    {"term":{"kpiType":"FileWatch"}}
  ]}}}'
  • Count > 0: Data exists in collated index. Check the _ext alias (see Step 5).
  • Count = 0: Data is in raw but not collated. The collation process may not be running or may not handle ConfigWatch data.

Step 4: Check the Component Agent#

# On the target server where the agent runs
# Check if agent is running
ps -ef | grep component-agent | grep -v grep

# Check agent log for ConfigWatch data collection
tail -200 /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/logs/component-agent.log \
  | grep -i "configwatch\|CONFIG_WATCH\|SYSTEM_KEY_VALUE\|MOUNT_POINT\|TLS_DETAILS"

# Check if producer scripts exist and are executable
ls -la /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/producers/Fetch_Core_Config.sh
ls -la /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/producers/Fetch_Mount_Config.sh

Common Causes:

Cause Fix
Agent installed less than 12 hours ago Wait for the first collection cycle (12 hours for most KPIs, 24 min for TLS)
Component Agent not running Check Supervisor: ps -ef | grep supervisorctl
Producer scripts missing or not executable Reinstall the agent package or fix permissions: chmod +x producers/*.sh

Step 5: Check the _ext Alias#

The UI Service appends _ext to the index name when querying. If the alias doesn't exist, queries will fail silently.

# Check if the _ext alias exists
WEEK=$(date -u +%Y.w%V)
curl -sk -u healadmin:<password> \
  "https://<OPENSEARCH_IP>:9211/_alias/heal_collated_kpi_<account>_${WEEK}_ext"

If the alias doesn't exist, create it:

curl -sk -u healadmin:<password> -X POST \
  "https://<OPENSEARCH_IP>:9211/_aliases" \
  -H 'Content-Type: application/json' \
  -d "{\"actions\":[{\"add\":{
    \"index\":\"heal_collated_kpi_<account>_${WEEK}\",
    \"alias\":\"heal_collated_kpi_<account>_${WEEK}_ext\"
  }}]}"

Why the _ext suffix?

The UI Service has a config `opensearch.index.extension=_ext` that appends `_ext` to all index names. This is set by the Nomad template and cannot be changed via container config (it resets on restart). The workaround is to create an OpenSearch alias.

Step 6: Check the watcherValue Format#

The UI Service expects the watcherValue field in the collated index to be in a specific delimited format:

operation@#!#@newValue@#!#@oldValue@#!#@changeDate@#!#@changeTimestamp

Where:

Position Field Valid Values
[0] Operation Added, Modified, or Deleted
[1] New/Current value Any string
[2] Old/Previous value Any string (empty for Added)
[3] Change date Empty or date string
[4] Change timestamp ISO timestamp (e.g., 2026-03-12T07:34:00.000Z)

If the format is wrong, the UI Service throws NullPointerException at WatcherKpiService:206 because the operation field is null.

# Check the format of a sample document
curl -sk -u healadmin:<password> \
  "https://<OPENSEARCH_IP>:9211/heal_collated_kpi_<account>_*/_search" \
  -H 'Content-Type: application/json' \
  -d '{"size":1,"query":{"term":{"kpiType":"ConfigWatch"}},"_source":["watcherValue"]}'

The watcherValue entries should look like:

"TLS_DISABLED_PORTS": "Added@#!#@25,111,8045@#!#@@#!#@@#!#@2026-03-12T07:34:00.000Z"

NOT like:

"TLS_DISABLED_PORTS": "25,111,8045"

If the values are plain (not delimited), the data needs to be transformed. See ConfigWatch Data Flow.

Step 7: Check UI Service Logs#

# SSH to UI Service server (Server 2)
UI_CONTAINER=$(docker ps --format '{{.Names}}' | grep UISERVICE)
docker exec $UI_CONTAINER tail -100 /tmp/logs/heal-ui-service.log | grep -i "error\|watcher\|configWatch"

Common Errors:

Error Cause Fix
NullPointerException at WatcherKpiService:206 Wrong watcherValue format — missing operation field Fix the data format (see Step 6)
Index 1 out of bounds for length 1 at WatcherKpiService:139 watcherValue is plain text, not delimited Transform data to delimited format
Data does not exists for given query No data in the time range Expand the time range
Unable to fetch instance details Instance not found in Redis cache Restart Redis Microservice to reload cache
Unable to fetch group id/type name KPI not mapped to instance in Redis Check KPI mappings in Percona and restart Redis Microservice