rich1888 / disk-space-monitor
Check the available disk space on the server, and alert when a threshold is met.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rich1888/disk-space-monitor
Requires
- illuminate/console: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
This package is not auto-updated.
Last update: 2025-10-07 11:13:41 UTC
README
Check the available disk space on the server, and alert when a threshold is met.
Getting Started
- Set env variable
DISK_USAGE_ALERT_EMAIL
to correct email address to receive email - Set env variable
DISK_USAGE_ALERT_THRESHOLD
to be the threshold where alerts start. The default is 90, and will alert when 90% of disk space has been reached. - Set env variable
DISK_USAGE_ALERT_DIRECTORY
to monitor specific directories on the server. Default is / and will monitor the whole instance. - Set env variable
DISK_USAGE_ALERT_SCHEDULE
to change how often the process runs. Default is0 * * * *
which runs on the hour. Use something like https://crontab.guru/ to get the pattern for a new schedule.