Automated Disk Space Monitoring and Alerting
detail.loadingPreview
Proactively monitor your server's disk space usage with this n8n workflow. Receive automated SMS alerts when your disk space exceeds a critical threshold, preventing potential downtime.
About This Workflow
This n8n workflow provides an automated solution for monitoring the free disk space on your host machine. Scheduled to run twice daily, it executes a command to check disk utilization and triggers an SMS alert via Twilio if the usage surpasses 80%. This proactive approach helps prevent critical system issues caused by full disks, ensuring the reliability and performance of your applications. The workflow is easily configurable, allowing you to adjust the monitoring schedule and the alert threshold to fit your specific needs.
Key Features
- Scheduled Monitoring: Automatically checks disk space twice a day.
- Threshold Alerting: Sends SMS notifications when disk usage exceeds 80%.
- Customizable Alerts: Easily modify the alert threshold and recipient.
- System Health Assurance: Prevents issues related to full disk storage.
How To Use
- Configure Cron Node: Set your desired
triggerTimesfor how often the workflow should run (e.g., daily at 9 AM and 4 PM). - Configure Execute Command Node: Ensure the
commandis set todf -k / | tail -1 | awk '{print $5}'to accurately capture disk usage percentage. - Configure IF Node: Adjust the
value2parameter in theconditionsto set your preferred disk space usage threshold (default is 80). - Configure Twilio Node: Enter your Twilio
toandfromphone numbers and ensure yourtwilio-credentialsare correctly set up in n8n. - Enable the Workflow: Activate the workflow to start automated disk space monitoring.
Apps Used
Workflow JSON
{
"id": "576c3ef6-7f3a-4221-b5f4-e3f66f3c5bb2",
"name": "Automated Disk Space Monitoring and Alerting",
"nodes": 28,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 576c3ef6-7f3a...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.