Skip to content

Folder Monitoring

Track file update activity in directories and alert when writing stops.

2 min read Updated SS

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#

  1. Open the classic Control Center: https://<HEAL_IP>:9998/heal-controlcenter/
  2. Ensure your account is selected in the top-right dropdown
  3. Click Setup in the top menu bar
  4. Click the Monitoring tab
  5. Click the Services card
Setup Services screen listing all monitored services by name — click your service name in the Name column
  1. Click your service name (e.g., PetclinicService)
  2. On the left sidebar, under Configuration, click Instances
  3. Select the checkbox next to your instance
Manage Service screen with Instances selected under Configuration in the left sidebar and instance checkboxes ticked in the list
  1. Click Bulk Actions → Edit Host → Group Values
Bulk Actions dropdown open on the Instances screen, showing Group Values under the Edit Host section
  1. On the left sidebar, click File-Folder Exists
  2. 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
  3. 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.