plan-action-15pts-post-rescale-32gb

This commit is contained in:
WEVIA
2026-04-14 12:36:07 +02:00
parent 0b9b6e3cef
commit b4445014df
9 changed files with 78 additions and 44 deletions

View File

@@ -1,8 +1,8 @@
{
"ts": "2026-04-14T10:30:49+00:00",
"ts": "2026-04-14T10:36:04+00:00",
"hostname": "LAPTOP-VE75QUHF",
"cpu": "9%",
"ram": "90% (16GB)",
"cpu": "68%",
"ram": "92% (16GB)",
"disk": "81% (464GB)",
"uptime": "1d 18h",
"user": "Yace",

View File

@@ -13,5 +13,5 @@
"Run simulation",
"CEO insights"
],
"timestamp": "2026-04-14 10:30:01"
"timestamp": "2026-04-14 10:35:01"
}

View File

@@ -1,15 +1,14 @@
{
"timestamp": "2026-04-14 12:30:14",
"timestamp": "2026-04-14 12:35:17",
"healthy": false,
"issues": [
"Chatbot check error: Expecting value: line 1 column 1 (char 0)",
"Chatbot POST returning maintenance (crash)",
"Domain crm.weval-consulting.com: HTTP 502",
"Domain code.weval-consulting.com: HTTP 404",
"Domain deerflow.weval-consulting.com: HTTP 502",
"Domain mm.weval-consulting.com: HTTP 502",
"Domain n8n.weval-consulting.com: HTTP 502"
],
"fixes": [],
"issues_count": 6,
"issues_count": 5,
"fixes_count": 0
}

View File

@@ -1,5 +1,5 @@
{
"timestamp": "2026-04-14 10:30:09",
"timestamp": "2026-04-14 10:35:08",
"healthy": false,
"checks": {
"outpost": "DOWN",
@@ -30,57 +30,57 @@
{
"level": "critical",
"msg": "Outpost DOWN 9090",
"ts": "2026-04-14T10:30:01+00:00"
"ts": "2026-04-14T10:35:01+00:00"
},
{
"level": "critical",
"msg": "Outpost STILL DOWN",
"ts": "2026-04-14T10:30:06+00:00"
"ts": "2026-04-14T10:35:06+00:00"
},
{
"level": "warning",
"msg": "Auth flow ethica.weval-consulting.com: 200",
"ts": "2026-04-14T10:30:07+00:00"
"ts": "2026-04-14T10:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow n8n.weval-consulting.com: 502",
"ts": "2026-04-14T10:30:07+00:00"
"ts": "2026-04-14T10:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow crm.weval-consulting.com: 502",
"ts": "2026-04-14T10:30:07+00:00"
"ts": "2026-04-14T10:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow mm.weval-consulting.com: 502",
"ts": "2026-04-14T10:30:08+00:00"
"ts": "2026-04-14T10:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow analytics.weval-consulting.com: 200",
"ts": "2026-04-14T10:30:08+00:00"
"ts": "2026-04-14T10:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow deerflow.weval-consulting.com: 200",
"ts": "2026-04-14T10:30:08+00:00"
"ts": "2026-04-14T10:35:08+00:00"
},
{
"level": "warning",
"msg": "Callback location missing in nginx",
"ts": "2026-04-14T10:30:08+00:00"
"ts": "2026-04-14T10:35:08+00:00"
}
],
"fixes": [
{
"title": "Restart authentik",
"ts": "2026-04-14T10:30:01+00:00"
"ts": "2026-04-14T10:35:01+00:00"
},
{
"title": "Callback location auto-added",
"ts": "2026-04-14T10:30:08+00:00"
"ts": "2026-04-14T10:35:08+00:00"
}
]
}

View File

@@ -1,5 +1,5 @@
{
"timestamp": "2026-04-14 10:30:01",
"timestamp": "2026-04-14 10:35:01",
"version": "1.0",
"disk": 67,
"ram": 11,
@@ -14,83 +14,83 @@
"title": "Restart ollama",
"cmd": "systemctl restart ollama",
"output": "",
"time": "10:30:01"
"time": "10:35:01"
},
{
"title": "S95 restart pmta",
"time": "10:30:01"
"time": "10:35:01"
},
{
"title": "S95 restart kumomta",
"time": "10:30:01"
"time": "10:35:01"
},
{
"title": "S95 restart postfix",
"time": "10:30:01"
"time": "10:35:01"
},
{
"title": "S95 restart sentinel",
"time": "10:30:01"
"time": "10:35:01"
},
{
"title": "S95 restart adx",
"time": "10:30:01"
"time": "10:35:01"
}
],
"alerts": [
{
"level": "critical",
"msg": "S204:ollama DOWN (:11435)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S204:deerflow DOWN (:2024)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S204:authentik DOWN (:9090)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S95:pmta DOWN (:25)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S95:kumomta DOWN (:587)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S95:postfix DOWN (:2525)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S95:sentinel DOWN (:5890)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "critical",
"msg": "S95:adx DOWN (:5821)",
"time": "10:30:01"
"time": "10:35:01"
},
{
"level": "warning",
"msg": "Architecture score 70\/100",
"time": "10:30:02"
"time": "10:35:01"
}
],
"log": [
"10:30:01 AUTO-FIX: Restart ollama",
"10:30:01 Disk: 67%",
"10:30:01 SSL: 356d remaining",
"10:30:01 Docker: 10 containers",
"10:30:02 RAM: 11%",
"10:30:02 Arch score: 70\/100"
"10:35:01 AUTO-FIX: Restart ollama",
"10:35:01 Disk: 67%",
"10:35:01 SSL: 356d remaining",
"10:35:01 Docker: 10 containers",
"10:35:01 RAM: 11%",
"10:35:01 Arch score: 70\/100"
],
"s204_services": 8,
"s95_mta": 5

View File

@@ -1 +1 @@
{"ts":"12:30","status":"offline"}
{"ts":"12:36","status":"offline"}

View File

@@ -0,0 +1,18 @@
<?php
header("Content-Type: text/event-stream");
header("Cache-Control: no-cache");
header("X-Accel-Buffering: no");
set_time_limit(60);
ob_implicit_flush(true);
if(ob_get_level())ob_end_flush();
function sse($d){echo "data: ".json_encode($d,JSON_UNESCAPED_UNICODE)."
";flush();}
$msg=$_GET["msg"]??"";
if(!$msg){sse(["error"=>"msg required"]);exit;}
sse(["type"=>"start","task"=>$msg]);
include __DIR__."/wevia-orchestrator.php";
$r=wevia_orchestrate($msg);
foreach($r["results"]??[] as $k=>$v){sse(["type"=>"agent","id"=>$k,"result"=>$v]);}
if($r["synthesis"]??null)sse(["type"=>"synthesis","content"=>$r["synthesis"]]);
sse(["type"=>"done","agents"=>$r["agents"]??0,"ms"=>$r["ms"]??0]);

View File

@@ -1 +1 @@
{"ts": "12:30", "status": "ok"}
{"ts": "12:35", "status": "ok"}

View File

@@ -0,0 +1,17 @@
<?php
header("Content-Type: text/event-stream");
header("Cache-Control: no-cache");
header("X-Accel-Buffering: no");
set_time_limit(60);
ob_implicit_flush(true);
if(ob_get_level())ob_end_flush();
function sse($d){echo "data: ".json_encode($d,JSON_UNESCAPED_UNICODE)."
";flush();}
$msg=$_GET["msg"]??$_POST["msg"]??"";
if(!$msg){sse(["error"=>"msg required"]);exit;}
sse(["type"=>"start","task"=>$msg,"ts"=>date("H:i:s")]);
$agents=["infra"=>"echo LOAD:$(cat /proc/loadavg|cut -d' ' -f1-3) DISK:$(df -h /|tail -1|awk '{print $5}') FPM:$(pgrep -c php-fpm) HTML:$(ls /var/www/html/*.html|wc -l)","sovereign"=>"curl -s --max-time 6 http://127.0.0.1:4000/health 2>/dev/null|head -c 80","nonreg"=>"php8.4 /var/www/html/api/nonreg-quick.php 2>&1","git"=>"cd /var/www/html;echo DIRTY:$(git status -s|wc -l);git log --oneline -1","vault"=>"echo VAULT:$(ls /opt/wevads/vault/|wc -l) WIKI:$(ls /opt/weval-l99/wiki/*.json|wc -l)","docker"=>"docker ps --format x|wc -l"];
$results=[];$i=0;$total=count($agents);
foreach($agents as $id=>$cmd){$i++;$out=trim(@shell_exec("timeout 6 bash -c ".escapeshellarg($cmd)." 2>&1"))?:"TIMEOUT";$results[$id]=$out;sse(["type"=>"agent","id"=>$id,"result"=>$out,"progress"=>round($i/$total*100)]);}
sse(["type"=>"done","agents"=>count($results),"results"=>$results]);