This project is not covered by Drupal’s security advisory policy.

Disk Space Alert is a module for Drupal 10 that monitors your server's disk space usage and provides timely notifications when available disk space crosses a specified threshold. This helps ensure that your Drupal site continues to run smoothly by preventing disk space issues.

Features

  • Customizable Thresholds: Set a custom disk space usage threshold as a percentage. Alerts are triggered when the used space exceeds this threshold.
  • Admin Notifications: Notify site administrators via email when the disk space usage crosses the specified threshold.
  • POST Requests: Send POST requests to a specified URL with customizable messages containing disk space information.
  • Tokenized POST Messages: Use tokens such as @diskName, @totalSpace, @availableSpace, @usedSpace, @threshold, @isAboveThreshold, and others to customize your POST messages.
  • Cron Integration: The module runs disk space checks during cron runs, ensuring regular monitoring of disk space usage.
  • Manual Trigger: Administrators can manually trigger a disk space check from the configuration page.
  • Configuration Options: Enable or disable the module, set the threshold, configure email notifications, specify a POST URL, and customize the POST message from the module's settings page.
  • Avoid Duplicate Triggers: Option to avoid sending duplicate alerts if the disk space has not changed significantly.

Usage

To configure the module, navigate to Disk Space Alert Configuration /admin/config/system/disk-space-alert. Here you can:

  • Enable or disable the module.
  • Set the disk space usage threshold percentage.
  • Enable or disable email notifications.
  • Specify a URL to send POST requests when the threshold is crossed.
  • Customize the POST message using tokens.
  • Choose to avoid duplicate triggers.

Installation

  1. Download and install the Disk Space Alert module in your Drupal 10 site.
  2. Navigate to the module's configuration page to set your desired options.
  3. Ensure that the cron job is set up to run periodically to allow for regular disk space checks.

Support

If you encounter any issues or have questions, please visit the module's issue queue on Drupal.org to report bugs or request new features.

Supporting organizations: 

Project information

Releases