Full sync - all projects, memory, configs
This commit is contained in:
23
data/self-healing/config.json
Normal file
23
data/self-healing/config.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"monitored_services": [
|
||||
"nexus",
|
||||
"nginx",
|
||||
"ssh"
|
||||
],
|
||||
"monitored_ports": {
|
||||
"8000": "control-panel",
|
||||
"8888": "feed-hunter",
|
||||
"8889": "market-watch",
|
||||
"8890": "ticker",
|
||||
"80": "nginx",
|
||||
"3000": "nexus"
|
||||
},
|
||||
"thresholds": {
|
||||
"disk_percent": 90,
|
||||
"memory_percent": 90,
|
||||
"cpu_percent": 95,
|
||||
"swap_percent": 80
|
||||
},
|
||||
"auto_restart": true,
|
||||
"check_interval_seconds": 300
|
||||
}
|
||||
12
data/self-healing/heal-log.jsonl
Normal file
12
data/self-healing/heal-log.jsonl
Normal file
@ -0,0 +1,12 @@
|
||||
{"ts": "2026-02-15T00:37:16.835869", "type": "service_ok", "message": "Service 'nexus' is active", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.843890", "type": "service_ok", "message": "Service 'nginx' is active", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.851998", "type": "service_ok", "message": "Service 'ssh' is active", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871718", "type": "port_ok", "message": "Port 8000 (control-panel) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871784", "type": "port_ok", "message": "Port 8888 (feed-hunter) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871820", "type": "port_ok", "message": "Port 8889 (market-watch) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871852", "type": "port_ok", "message": "Port 8890 (ticker) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871883", "type": "port_ok", "message": "Port 80 (nginx) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871912", "type": "port_ok", "message": "Port 3000 (nexus) is listening", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.871988", "type": "disk_ok", "message": "Disk usage at 14.4%", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.872105", "type": "memory_ok", "message": "Memory usage at 31.8%", "success": true}
|
||||
{"ts": "2026-02-15T00:37:16.872168", "type": "cpu_ok", "message": "CPU load at 3%", "success": true}
|
||||
8
data/self-healing/status.json
Normal file
8
data/self-healing/status.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"last_check": "2026-02-15T00:37:16.902585",
|
||||
"healthy": true,
|
||||
"issues": [],
|
||||
"disk_pct": 14.4,
|
||||
"mem_pct": 31.8,
|
||||
"cpu_count": 12
|
||||
}
|
||||
Reference in New Issue
Block a user