Monitor Unraid server health and send alerts with Telegram
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on a schedule (every minute) (plus 1 other trigger). Along the way it connects Telegram.
How it runs
Trigger: On a schedule (every minute) (plus 1 other trigger).
- Alert settings (Edit Fields (Set)): sets 7 fields: cfg.unraidUrl, cfg.telegramChatId, cfg.throttleMinutes…
- Syslog check? (If): checks a condition and branches into true / false
- Syslog request (Code): runs custom JavaScript code
- Health request (Code): runs custom JavaScript code
- Read syslog (HTTP Request): calls an HTTP API (POST)
- Health snapshot (HTTP Request): calls an HTTP API (POST)
- New syslog lines (Code): runs custom JavaScript code
- New health problems (Code): runs custom JavaScript code
- Normalize alert (Code): runs custom JavaScript code
- Throttle repeats (Code): runs custom JavaScript code
…plus 12 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow monitors an Unraid server via its GraphQL API, scanning new syslog warnings every minute and running broader health checks every five minutes, then sends deduplicated alerts with suggested next steps to a Telegram chat, with…