<%- include('top') %>

Dashboard

<%= metrics.active %>active sessions
<%= metrics.total %>total connections
<%= metrics.fail %>failed

Active sessions

<% if (!active.length) { %>

None right now.

<% } else { %> <% active.forEach(s => { %> <% }) %>
UserTargetSince
<%= s.uid %><%= s.slug || s.target %><%= new Date(s.startedAt).toLocaleTimeString() %>
<% } %>

Top hosts

<% if (!metrics.topHosts.length) { %>

No data.

<% } else { %> <% metrics.topHosts.forEach(h => { %><% }) %>
<%= h.name %><%= h.count %>
<% } %>

Recent connections view all →

<% recent.forEach(e => { %> <% }) %>
TimeUserTargetMethodResult
<%= new Date(e.ts).toLocaleString() %> <%= e.uid %> <%= e.targetSlug || e.targetAddr || '—' %> <%= e.authMethod %> / <%= e.mode %> <%= e.success ? '✓' : '✗ ' + e.failReason %>
<%- include('bottom') %>