3.9 KiB
3.9 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 39379120-896b-46cd-befa-b83d09d7556b | configuration | Server Health Monitor n8n workflow node structure and connections |
|
0.7 | 0.8 | 2026-02-20T05:12:03.317234+00:00 | 2026-03-04T17:05:57.681539+00:00 |
|
Master Workflow: "Server Health Monitor - Claude Code" (p7XmW23SgCs3hEkY)
7 nodes, active, runs every 5 minutes:
| Node | Type | Purpose |
|---|---|---|
| Every 5 Minutes | scheduleTrigger v1.2 | 5-min interval |
| Get Server List | ssh v1 | Runs list_servers.sh on CT 302 |
| Split Server List | code v2 | Parses JSON array → one item per server_key |
| Check Each Server | executeWorkflow v1.1 | Calls sub-workflow, mode: "each" |
| Aggregate Results | code v2 | Collects results, counts healthy/remediated/escalated |
| Any Escalations? | if v2 | Checks has_escalations boolean |
| Discord Summary | httpRequest v4.2 | Sends embed to Discord webhook (escalation branch only) |
Flow: Schedule → SSH → Code → Sub-workflow → Code → If → Discord
Sub-Workflow: "Server Health Check" (BhzYmWr6NcIDoioy)
7 nodes, active, triggered by parent:
| Node | Type | Purpose |
|---|---|---|
| Execute Workflow Trigger | executeWorkflowTrigger v1.1 | Receives {server_key}, passthrough mode |
| Run Health Check | ssh v1 | health_check.py --server {server_key} |
| Parse Result | code v2 | Parses JSON, extracts status/exit_code/issues |
| Needs Escalation? | if v2 | exit_code == 2 check |
| Claude Remediation | ssh v1 | Runs remediate.sh (true branch) |
| Return Escalated Results | code v2 | Normalizes output with remediation_output |
| Return Normal Results | code v2 | Normalizes output (false branch) |
Discord Webhook
URL: https://discord.com/api/webhooks/1451783909409816763/O9PMDiNt6ZIWRf8HKocIZ_E4vMGV_lEwq50aAiZ9HVFR2UGwO6J1N9_wOm82p0MetIqT
Settings
- executionOrder: v1
- timezone: America/Chicago
- callerPolicy: workflowsFromSameOwner