Automated Web Server Uptime Monitoring & Alerting
detail.loadingPreview
Proactively monitor your web server's availability and receive instant alerts when issues arise. This workflow automates uptime checks and logs results for comprehensive tracking.
About This Workflow
This powerful n8n workflow provides robust, automated monitoring for your web servers. By regularly pinging your servers and checking their HTTP status, it ensures continuous uptime. If a server becomes unresponsive or encounters an error, the system triggers immediate email alerts via Gmail to notify your team. All successful and failed checks are meticulously logged into separate Google Sheets, creating a valuable historical record for reporting, debugging, and audit purposes. Manage your server list effortlessly by simply updating a Google Sheet, eliminating the need to modify the workflow itself.
Key Features
- Automated Uptime Checks: Runs checks at a configurable interval (defaulting to every minute).
- Dynamic Server Management: Easily add or remove servers by updating a Google Sheet.
- Instant Downtime Alerts: Sends immediate email notifications when a server is down.
- Comprehensive Logging: Records both successful and failed server checks in Google Sheets.
- Effortless Integration: Connects seamlessly with Google Sheets and Gmail.
How To Use
- Set up the Schedule Trigger: Configure the
Schedule Triggerto run the workflow at your desired interval (e.g., every minute). - Prepare Your Server List: Create a Google Sheet named 'Server_Monitor' with a sheet named 'Server_List'. List your server hostnames or IP addresses in a column.
- Configure Google Sheets Nodes: In the
Web Servers Listnode, point it to your 'Server_Monitor' document and 'Server_List' sheet. Ensure your Google Sheets credentials are set up. - Set up HTTP Checks: In the
Server Alive Check (HTTP)node, configure the HTTP request to target your servers. Set up the error path to trigger the 'Server Down' nodes. - Configure Logging: In the
Web Server Alive Lognode, link it to your 'Server_Monitor' document and a sheet named 'Server_Status_Alive'. Map the server details and timestamp. - Configure Alerting: In the
Server Down Notificationnode, set up your Gmail credentials and customize the email subject and message. Ensure it receives data from the error path of the HTTP check. - Configure Down Logging: In the
Web Server Down Lognode, link it to your 'Server_Monitor' document and a sheet named 'Server_Status_Down'. Map the server details and timestamp for failed checks.
Apps Used
Workflow JSON
{
"id": "b16bd691-59fd-4390-8a84-c1c8599b0344",
"name": "Automated Web Server Uptime Monitoring & Alerting",
"nodes": 21,
"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: b16bd691-59fd...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
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.