JUHE API Marketplace

Execute a command that gives the hard disk memory used on the host machine

Active

For n8n, this automated workflow checks hard disk memory usage twice daily at 9 AM and 4 PM. If usage exceeds 80%, it sends an alert via Twilio, ensuring timely awareness of storage issues to prevent potential disruptions.

Workflow Overview

For n8n, this automated workflow checks hard disk memory usage twice daily at 9 AM and 4 PM. If usage exceeds 80%, it sends an alert via Twilio, ensuring timely awareness of storage issues to prevent potential disruptions.

  • System Administrators: Ensure efficient disk space management and avoid downtime due to full disks.
  • DevOps Engineers: Automate monitoring of disk usage as part of CI/CD pipelines.
  • IT Support Teams: Receive timely alerts about potential disk space issues to assist users effectively.
  • Businesses: Maintain operational efficiency by preventing server outages caused by insufficient disk space.

This workflow automatically monitors the hard disk usage on the host machine and alerts users when the disk space exceeds 80%. This proactive approach helps prevent potential issues related to insufficient disk space, ensuring smooth operations and minimizing downtime.

  1. Cron Scheduler: This node triggers the workflow at specified times, specifically at 9 AM and 4 PM daily.
  2. Execute Command: Runs a shell command to check the current disk usage percentage. The command used is df -k / | tail -1 | awk '{print $5}', which retrieves the percentage of disk space used.
  3. IF Condition: Evaluates the output of the command. If the disk usage is greater than 80%, it proceeds to the next step; otherwise, it ends without action.
  4. Twilio Notification: If the disk usage exceeds 80%, a message is sent via Twilio to a specified phone number, alerting the user with the message: "Your hard disk space is filling up fast! Your hard disk is [current usage] full."
  5. No Operation (NoOp): This serves as a placeholder for any actions that could be taken if the disk usage is under control.

Statistics

5
Nodes
0
Downloads
16
Views
1345
File Size

Quick Info

Categories
Communication & Messaging
Schedule Triggered
+1
Complexity
medium

Tags

medium
noop
logic
conditional
schedule
automation
twilio
executecommand

Boost your workflows with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more. Free trial.