Donutwork Docs
System & Monitoring

Directory Monitor

Automate workflows and notifications by monitoring file system changes in real-time.

Directory Monitor

The Directory Monitor is a file system surveillance engine designed for automation. It allows you to monitor specific folders—locally or on remote servers—and trigger notifications or workflows whenever a file is created, modified, or deleted.

The Monitoring Agent

To enable monitoring on your own infrastructure, Donutwork provides a Linux Binary agent. This lightweight agent runs on your server and communicates securely with the platform, providing low-latency event tracking without exposing your file system to the public internet.

Linux Binary

Download the pre-compiled .tar package and run it as a service on your server.

Real-time Alerts

Receive instant notifications via Webhook or Email when critical files are accessed or changed.

Common Use Cases

  1. Automated Data Ingestion: Drop a CSV into a monitored folder to automatically trigger a Donutwork Workflow for data processing.
  2. Security Auditing: Monitor sensitive directories (like /etc/ or /bin/) and get alerted if unauthorized changes occur.
  3. Backup Verification: Trigger post-processing tasks as soon as a database dump file is completed in a specific directory.

Project Structure

  • Project ID: A unique identifier used by the monitoring agent to sync with the Donutwork dashboard.
  • Startup Status: Indicates if the monitoring process has successfully initialized and is actively listening for events.

On this page