- 레거시 .md 2건(slack_basic_dialogue, service_health_check)을 _archive/로 이동 - n8n .json 파일 18건을 _archive/로 이동 - README.md 전면 재작성: n8n 전제 제거, 현행 아키텍처(APScheduler DB + SKILL.md) 반영 - 구 IP(192.168.219.52)를 localhost로 교체 (infrastructure-ssot-principle 준수) Refs: DOCS#8 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "robeing-scheduled-healthcheck-alert",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"rule": {
|
|
"cronExpression": "*/10 * * * *"
|
|
}
|
|
},
|
|
"id": "sched-health-001",
|
|
"name": "Schedule Trigger",
|
|
"type": "n8n-nodes-base.scheduleTrigger",
|
|
"typeVersion": 1,
|
|
"position": [220, 220]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"method": "GET",
|
|
"url": "=http://192.168.219.52:8001/health",
|
|
"options": {
|
|
"response": {
|
|
"response": {
|
|
"fullResponse": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"id": "sched-health-002",
|
|
"name": "Check rb8001 Health",
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"typeVersion": 4.2,
|
|
"position": [470, 220]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"conditions": {
|
|
"number": [
|
|
{
|
|
"value1": "={{ $json.statusCode }}",
|
|
"operation": "notEqual",
|
|
"value2": 200
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"id": "sched-health-003",
|
|
"name": "Health Failed?",
|
|
"type": "n8n-nodes-base.if",
|
|
"typeVersion": 2,
|
|
"position": [700, 220]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "message",
|
|
"operation": "post",
|
|
"channel": "=C_ALERTS",
|
|
"text": "=rb8001 health check failed. status={{$json.statusCode}}",
|
|
"otherOptions": {}
|
|
},
|
|
"id": "sched-health-004",
|
|
"name": "Send Alert",
|
|
"type": "n8n-nodes-base.slack",
|
|
"typeVersion": 2,
|
|
"position": [940, 160]
|
|
}
|
|
],
|
|
"connections": {
|
|
"Schedule Trigger": { "main": [[{ "node": "Check rb8001 Health", "type": "main", "index": 0 }]] },
|
|
"Check rb8001 Health": { "main": [[{ "node": "Health Failed?", "type": "main", "index": 0 }]] },
|
|
"Health Failed?": {
|
|
"main": [
|
|
[{ "node": "Send Alert", "type": "main", "index": 0 }],
|
|
[]
|
|
]
|
|
}
|
|
},
|
|
"pinData": {},
|
|
"meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-scheduler" }
|
|
}
|