ConfigWatch Data Flow
ConfigWatch Data Flow in Data Collection Issues.
ConfigWatch Data Flow#
Understanding the data flow helps with troubleshooting:
Target Server (Component Agent)
→ Collects ConfigWatch data via producer scripts
→ Sends to HAProxy (<HEAL_IP>:9998)
→ Routes to Data Receiver (Server 3)
→ Writes to OpenSearch RAW index: heal_raw_kpi_<account>_YYYY.MM.DD
→ Collation process writes to COLLATED index: heal_collated_kpi_<account>_YYYY.wWW
→ UI Service queries COLLATED index (with _ext suffix)
→ Displays in HEAL UI
Key points:
- ConfigWatch/FileWatch data goes to the raw index first
- The UI reads from the collated index (weekly, format:
YYYY.wWW) - The UI appends
_extto the index name (requires an alias) - The
watcherValuemust be in the delimited@#!#@format for the UI to parse it
FileWatch Not Detecting Changes#
Symptom: File Watch is configured but changes are not being reported.
Common Causes:
| Cause | Fix |
|---|---|
| File paths not configured | Configure in Control Center → Setup → Monitoring → Services → click service → Configuration → Instances → select instance → Bulk Actions → Group Values → File Watcher |
| Agent hasn't polled yet | Agent polls for config updates every 5 minutes — wait one cycle |
| Wrong level selected | System files → Edit Host → Group Values; app files → Edit Component → Group Values |
| File path typo | Verify paths exist on the target server: ls -la /path/to/file |
| Data Collection toggle is OFF | Each file has an individual ON/OFF toggle — ensure it is set to ON |
| File not readable by agent | Agent runs as heal user — check permissions: sudo -u heal cat /path/to/file |
| FileWatch shows in wrong tab | Host-level FileWatch appears under Behaviour - VM/Host, Component-level under Behaviour - Component |
Diagnosis:
# Check if FileWatch data is being collected
tail -100 /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/logs/component-agent.log \
| grep -i "file_watch\|FILE_WATCH"
# Check for file access errors
grep -i "E1202\|E1203" /home/heal/Agent/ComponentAgent/ComponentAgent-2.1.2-1/logs/component-agent.log | tail -10
| Error Code | Meaning | Fix |
|---|---|---|
| E1202 | File not readable (permission denied) | Fix file permissions or add heal user to the appropriate group |
| E1203 | File not found | Verify the file path is correct and the file exists |