Folder Monitoring
Track file update activity in directories and alert when writing stops.
Folder Monitoring Configuration#
Folder Monitoring tracks file update activity within directories. It detects whether files in a directory are being updated (e.g., log files being written to) and alerts if activity stops — which could indicate a hung process or full disk.
Step-by-Step: Configure Folder Monitoring#
- Open the classic Control Center:
https://<HEAL_IP>:9998/heal-controlcenter/ - Ensure your account is selected in the top-right dropdown
- Click Setup in the top menu bar
- Click the Monitoring tab
- Click the Services card

- Click your service name (e.g.,
PetclinicService) - On the left sidebar, under Configuration, click Instances
- Select the checkbox next to your instance

- Click Bulk Actions → Edit Host → Group Values

- On the left sidebar, click File-Folder Exists
- For each folder to monitor:
- Click the + (plus) button to add a new row
- Attributes: Enter the full folder path
- Display Name: Enter a friendly label
- Data Collection: Toggle to ON
- Click Save
Example Folders to Monitor#
| Folder Path | Why Monitor It |
|---|---|
/var/log |
Detect if system logging stops (disk full or hung process) |
/opt/Components/Tomcat/apache-tomcat-8.5.27/logs |
Detect if the application stops writing logs |
/data/incoming |
Monitor for incoming file processing activity |
Viewing in HEAL UI
After configuring, wait for the deployment's policy-refresh interval, or use the approved agent restart procedure when immediate application is required. Folder monitoring data appears under Behaviour - VM/Host in the instance view. See the User Guide — Service Details Overview for navigating to instance metrics.
Troubleshooting#
| Problem | Cause | Fix |
|---|---|---|
| Folder not appearing | Agent hasn't polled yet | Wait for the configured policy-refresh interval |
| No data showing | Wrong time range | Use Last 1 hour or wider |
| Permission errors in agent log | heal user can't read the folder |
Grant the dedicated agent identity only the required read and traverse access through an approved group or narrowly scoped ACL; do not grant world access |
| Folder path not found | Typo in path | Verify on target server: ls -la /path/to/folder |
Note
Full reference: For the full reference on editing Group Values per instance, see KPI Details For Instances in the Administration Guide.