SHTops

The SuperHiTech operations and monitoring host — what runs on it, how Leif reaches it, and the rules that keep tool routing honest.

SHTops is SuperHiTech’s primary operations host — the monitoring, alerting, and automation surface that sits behind the shtops_* tool family. It’s a separate machine from Leif (10.10.0.25) and nvrbackup (10.10.0.14), with its own tool namespace precisely because it’s a distinct ops surface.

Host facts

FieldValue
Hostnameshtops
Internal IP10.10.0.24
PlatformProxmox guest VM (kernel 6.8.x-pve)
WireGuard interfaces172.20.11.x (customer-site monitoring reach)
Workspace/home/superht/shtops/
Python venv/home/superht/shtops/venv/
Living docs/home/superht/shtops/docs/
Handoffs/home/superht/shtops/handoffs/
Tool routingshtops_execute_command for shell, shtops_* for scoped operations

There are no dedicated SHTops file read/write tools — shtops_execute_command is the read/write workhorse (use cat, sed, tee, etc.).

What runs on it

ServiceListensWhat it is
shtops-dashboard (systemd)0.0.0.0:5000The ops dashboard / API — Python dashboard.app from the venv, WorkingDirectory=/home/superht/shtops
Slack webhook0.0.0.0:3000/home/superht/slack_webhook.py — inbound Slack event/webhook handler
Local tooling127.0.0.1:18732Node process bound to localhost only

The dashboard exposes an authenticated API used by AI assistants and automation. Tokens are shtops_live_* strings, supplied via the SHTOPS_API_TOKEN environment variable (or config/config.yaml). See docs/AI_ASSISTANT_QUICKSTART.md and docs/API_INTEGRATION.md on the host.

SHTops tools

ToolPurpose
shtops_execute_commandRun a shell command on the host (also the file read/write path)
shtops_get_system_infoHost identity check — returns node: shtops, kernel, uptime
shtops_get_statusOnline status + system summary (compact / full)
shtops_check_serviceStatus of a named systemd service
shtops_restart_serviceRestart a named systemd service
shtops_list_processesHigh-memory process listing
shtops_list_tasksSupported automation tasks (see below)
shtops_bootstrapAlias for bootstrap_context(scope='shtops') — pulls living docs

Supported automation tasks

shtops_list_tasks reports the sanctioned, structured operations:

IDNameSystem
remote_shellExecute Shell CommandOS
restart_serviceRestart ServiceOS
rebootReboot SystemOS

What it’s responsible for

SHTops is the hub for SuperHiTech’s internal monitoring and ops integrations. The living docs under /home/superht/shtops/docs/ cover, among others:

  • Monitoring & alerting — LibreNMS client onboarding runbooks, alert triage plans, and the internal-monitoring design (the “who watches the watchers” work). Alerts route to ntfy topics: shtops-alerts / shtops-hq-alerts (internal) and customer-alerts-critical / customer-alerts-info (customer).
  • UniFi — SHTops holds the local JSON caches that the unifi_* tools read. unifi_* is not a live controller call; it reads caches on this host.
  • Backups — MSP backup alert remediation and the Storj v2 migration.
  • Endpoint security — Bitdefender push-event ingestion.
  • Business integrations — QuickBooks (OAuth), Slack, Gmail / Google Workspace, and ConnectWise Automate instruction wiring.
  • Hosts — full host inventory and tool routing summary
  • Service Map — services and the Leif tools that manage them
  • Network Topology — VPNs and customer-site reach
  • Tools — the shtops_*, unifi_*, and pve_* namespaces

Last verified against live systems: 2026-06-01 — see doc freshness.