AutomationMart
Home/Browse/Automated server log cleanup via email alerts with SSH - Nginx, Docker, System
n8n

Automated server log cleanup via email alerts with SSH - Nginx, Docker, System

n8nn8n4 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

This n8n workflow monitors email alerts for disk utilization exceeding 80%, extracts the server IP, logs into the server, and purges logs from Nginx, PM2, Docker, and system files to clear disk space. Key Insights - Ensure email alerts are consistently formatted with server IP details. - SSH access must be properly configured to avoid authentication failures. Workflow Process 1. Initiate the workflow with the Check Disk Alert Emails node when an email triggers on high disk usage. 2. Parse the

At a glance

Automated server log cleanup via email alerts with SSH - Nginx, Docker, System is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
4
Price
Free
Version
v1.0
Automated server log cleanup via email alerts with SSH - Nginx, Docker, System workflow diagram

About this workflow

This n8n workflow monitors email alerts for disk utilization exceeding 80%, extracts the server IP, logs into the server, and purges logs from Nginx, PM2, Docker, and system files to clear disk space. Key Insights - Ensure email alerts are consistently formatted with server IP details. - SSH access must be properly configured to avoid authentication failures. Workflow Process 1. Initiate the workflow with the Check Disk Alert Emails node when an email triggers on high disk usage. 2. Parse the email to extract the server IP using the Extract Server IP from Email node. 3. Set up SSH credentials and paths manually with the Prepare SSH Variables node. 4. Execute cleanup commands to delete logs from Nginx, PM2, Docker, and system files using the Run LogCleanup Commands via SSH node. Usage Guide - Import the workflow into n8n and configure email and SSH credentials. - Test with a sample email alert to verify IP extraction and log deletion. Prerequisites - Email service (e.g., IMAP or API) for alert monitoring - SSH access with valid credentials Customization Options Modify the Prepare SSH Variables node to target specific log directories or adjust cleanup commands for different server setups.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Extract internal links from a webpage

( Who Is This For? - Web developers - SEO specialists - Digital marketers What Problem Is This Workflow Solving? - Automates the extraction of internal links from a webpage - Eliminates the manual and error-prone process of collecting links - Facilitates analysis of website structure and optimization What This Workflow Does - Uses HTTP request node to fetch HTML content from a specified webpage - Parses the HTML to identify and extract internal links - Compiles a list of URLs directing to pages

Free

🛠️ Jina AI tool MCP server 💪 all 3 operations

Complete MCP server exposing all Jina AI Tool operations to AI agents. Zero configuration needed - all 3 operations pre-built. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigger: Serves

Free

Automated Sonarr missing episode finder with quality & language filtering

What is this? This is an n8n workflow designed to supercharge your Sonarr setup. Instead of just waiting for releases to appear in your RSS feed, this workflow proactively runs on a schedule, finds what's missing, actively searches for it, and grabs the best result based on your specific criteria. It's a "set it and forget it" solution to ensure your library is always complete. Key Features 🚀 Proactive Searching: Doesn't wait for content to come to you. It actively triggers a search for missing

Free

AI-powered Upwork cover letter generator – Pinecone, Groq, Google Gemin, SerpAPI

( 🚀 Automated Upwork Cover Letter Generator with n8n + MacOS Shortcut + Pinecone Context Retrieval This n8n automation is designed to streamline the Upwork proposal process by generating highly personalized, context-aware cover letters using your own skills and project data stored in a Pinecone vector store. With the help of an AI Agent powered by Groq’s Qwen LLM, and triggered instantly via a MacOS Shortcut, this system takes job descriptions from your clipboard and returns a ready-to-use HTML

Free

Internet Archive search API integration for AI agents (3 operations)

Complete MCP server exposing 3 Search Services API operations to AI agents. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Credentials Add Search Services credentials 3. Activate the workflow to start your MCP server 4. Copy the webhook URL from the MCP trigger node 5. Connect AI agents using the MCP URL 🔧 How it Works This workflow converts the

Free

Send custom emails using Google Email and Make automation

Automatically send personalized emails via Google Email when triggered by CustomMailHook, streamlining your communication process with tailored messaging.

Free

Domain to email extraction using Apollo API

Who is this for? - Sales professionals looking to build lead lists from target company domains - Business development teams conducting outreach campaigns - Marketers building contact databases for account-based marketing - Recruiters searching for potential candidates at specific companies - Anyone needing to transform a list of company domains into actionable contact information What problem is this workflow solving? Finding business email addresses for outreach is a time-consuming process. The

Free

Automatic Shopify order fulfillment process

This workflow automates the Mark as Fulfilled action in Shopify for each order, ensuring a seamless fulfillment process without manual intervention. How It Works This workflow retrieves all unfulfilled orders and processes their fulfillment automatically. Since Shopify requires a Fulfillment Order ID (not Order ID) to trigger fulfillment, the workflow follows these steps: 1️⃣ Get all unfulfilled orders using the Shopify node. 2️⃣ Retrieve the Fulfillment Order ID using the "List Fulfillment Orde

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free