Diff -- /var/www/vhosts/3dshawn.com/site1/TEMPLATES/servers.html
Diff
/var/www/vhosts/3dshawn.com/site1/TEMPLATES/servers.html
added on local at 2026-07-10 18:57:32
Added
+35
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to a9369d53baac
to a9369d53baac
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <div class="page-head"> | |
| 2 | <span class="page-eyebrow"><span class="dot"></span> Configure</span> | |
| 3 | <h1 class="page-title">Servers & agents</h1> | |
| 4 | <p class="page-subtitle">The nodes DriftSense knows about. In a multi-server install, remote agents phone home to this central node over HMAC-signed HTTP and appear here on first heartbeat.</p> | |
| 5 | </div> | |
| 6 | ||
| 7 | <div class="module glow-sky"> | |
| 8 | <div class="module-head"><div class="left"> | |
| 9 | <div class="module-icon"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/></svg></div> | |
| 10 | <div class="module-title">Registered nodes</div><span class="module-subtitle">$total total.</span> | |
| 11 | </div></div> | |
| 12 | <div class="module-body tight"> | |
| 13 | [if:$has_rows] | |
| 14 | <table class="tbl"> | |
| 15 | <thead><tr><th>Name</th><th style="width:130px">Role</th><th style="width:160px">Hostname / IP</th><th style="width:100px">Status</th><th style="width:140px">Agent</th><th style="width:170px">Last heartbeat</th></tr></thead> | |
| 16 | <tbody> | |
| 17 | [loop:@rows]<tr><td><strong>$server_name</strong></td><td class="mono dim">$role</td><td class="mono dim">$hostname</td><td><span class="pill $status_pill">$status</span></td><td class="mono dim">$agent_version</td><td class="mono dim">$heartbeat_h</td></tr>[/loop] | |
| 18 | </tbody> | |
| 19 | </table> | |
| 20 | [/if] | |
| 21 | [if:!$has_rows]<div style="padding:36px 14px;text-align:center;color:var(--text-dim)">No servers registered.</div>[/if] | |
| 22 | </div> | |
| 23 | </div> | |
| 24 | ||
| 25 | <div class="module glow-teal" style="margin-top:16px"> | |
| 26 | <div class="module-head"><div class="left"><div class="module-title">How to add an agent</div><span class="module-subtitle">Standard multi-server install. See install docs for details.</span></div></div> | |
| 27 | <div class="module-body"> | |
| 28 | <ol style="color:var(--text-dim);line-height:1.8;margin:0;padding-left:20px;font-size:13.5px"> | |
| 29 | <li>On the remote server: <code>curl -sSL https://driftsense.com/agent-install.sh | sudo bash</code></li> | |
| 30 | <li>Enter this central node's URL: <code>https://watchtower.3dshawn.com</code></li> | |
| 31 | <li>Paste the HMAC secret from Settings → Agents</li> | |
| 32 | <li>The agent starts sending heartbeats + change captures via HMAC-signed HTTP within 60s</li> | |
| 33 | </ol> | |
| 34 | </div> | |
| 35 | </div> |