How aussieoibrad/tait-network-tester works
Tait SNMP Monitor is a LAN web application for configuring radio nodes by region and viewing live RSSI, forward/reverse power, and node history. Its main workflow is: an administrator configures regions and nodes; an open region page requests polls for its nodes; the server queries radios over SNMP, stores readings, and serves telemetry for charts and detail views. The README documents the major pages and self-signed HTTPS behavior; several page capabilities are represented by their exact view paths because their implementation was not sampled.
Main entry points: pages.js Page routes · api.js JSON API · server.js HTTPS app server · poller.js Poll orchestration
Components 23
Web experience
- Dashboard
views/dashboard.ejs - Admin configuration
views/admin.ejs - Admin controls
public/js/admin.js - Region overview
views/region-home.ejs - RSSI monitor
public/js/region-rssi.js - Power monitor
public/js/region-power.js - Node history
public/js/node-detail.js - Live poll control
public/js/poller-control.js - Power page template
views/region-power.ejs - RSSI page template
views/region-rssi.ejs - Node detail template
views/node-detail.ejs
Polling and telemetry
- Poll orchestration
lib/poller.js - SNMP client
lib/snmp.js
Configuration and history
- Domain repository
lib/repo.js - SQLite database
db/db.js - Data schema
db/schema.sql
Server and security
- Page routes
routes/pages.js - JSON API
routes/api.js - Admin access checks
lib/auth.js - HTTPS app server
server.js - LAN certificate
lib/tls.js
Other components
- LAN browser
- Tait radio
Connections 30
- LAN browser → HTTPS app server: opens app
README.md - HTTPS app server → Page routes: mounts pages
server.js - HTTPS app server → JSON API: mounts API
server.js - HTTPS app server → LAN certificate: loads certificate
server.js - HTTPS app server → Poll orchestration: starts pruning
server.js - HTTPS app server → SQLite database: uses database path
server.js - Page routes → Domain repository: loads page data
routes/pages.js - Page routes → Admin access checks: gates admin page
routes/pages.js - Page routes → Dashboard: renders
routes/pages.js - Page routes → Admin configuration: renders
routes/pages.js - Page routes → Region overview: renders
routes/pages.js - Page routes → Power page template: renders
routes/pages.js - Page routes → RSSI page template: renders
routes/pages.js - Page routes → Node detail template: renders
routes/pages.js - Admin controls → JSON API: manages settings
public/js/admin.js - Power monitor → JSON API: fetches power
public/js/region-power.js - Power monitor → Live poll control: attaches polling
public/js/region-power.js - Live poll control → JSON API: triggers polls
- Node history → JSON API: loads history
public/js/node-detail.js - Power page template → Power monitor: loads page script
- RSSI page template → RSSI monitor: loads page script
- Node detail template → Node history: loads page script
- JSON API → Admin access checks: checks admin requests
routes/api.js - JSON API → Domain repository: reads and updates
routes/api.js - JSON API → Poll orchestration: requests polling
routes/api.js - Poll orchestration → Domain repository: loads nodes and saves readings
lib/poller.js - Poll orchestration → SNMP client: requests OIDs
lib/poller.js - SNMP client → Tait radio: queries telemetry
README.md - Domain repository → SQLite database: reads and writes
lib/repo.js - SQLite database → Data schema: loads schema
db/db.js