← back to Tools Dw Hub
per-tool probePath (scraper-api probes /health on Kamatera-local)
337ae8b20ce0eb99e870c9508c5d8ef245ab4f8b · 2026-07-28 14:15:26 -0700 · Steve
Files touched
Diff
commit 337ae8b20ce0eb99e870c9508c5d8ef245ab4f8b
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Jul 28 14:15:26 2026 -0700
per-tool probePath (scraper-api probes /health on Kamatera-local)
---
server.js | 2 +-
tools.json | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/server.js b/server.js
index c8d0431..7027cb3 100644
--- a/server.js
+++ b/server.js
@@ -73,7 +73,7 @@ const server = http.createServer(async (req, res) => {
if (url === '/api/status') {
const { tools } = manifest();
- const results = await Promise.all(tools.map(async (t) => ({ slug: t.slug, status: await probe(t.port, t.marker, 2500, '/', 0, t.probeHost || PROBE_HOST) })));
+ const results = await Promise.all(tools.map(async (t) => ({ slug: t.slug, status: await probe(t.port, t.marker, 2500, t.probePath || '/', 0, t.probeHost || PROBE_HOST) })));
res.writeHead(200, { 'Content-Type': 'application/json' });
return res.end(JSON.stringify(Object.fromEntries(results.map((r) => [r.slug, r.status]))));
}
diff --git a/tools.json b/tools.json
index f18efbe..39bcb39 100644
--- a/tools.json
+++ b/tools.json
@@ -236,10 +236,11 @@
"category": "Ops",
"folder": "Designer-Wallcoverings/DW-Programming/scraper-api",
"port": 8124,
- "marker": "DW Scraper API",
+ "marker": "healthy",
"start": "ssh root@45.61.58.125 pm2 restart dw-scraper-api # runs on Kamatera :8124",
"created": "2026-01-30",
- "probeHost": "127.0.0.1"
+ "probeHost": "127.0.0.1",
+ "probePath": "/health"
},
{
"slug": "system-dashboard",
← 5170814 scraper-api → Kamatera :8124 (option A executed): per-tool p
·
back to Tools Dw Hub
·
start/stop from the hub: local mode spawns manifest start-co 94b2c2b →