Project layout

app/scanner      nmap runner, parsing, scheduling, relations
app/notify       notification channels (e-mail/SMTP, ntfy, Telegram, ...), quiet hours
app/plugins      plugin system: manifest and output contract, runner, registry, service; PLUGINS.md is the plugin guide
app/terminal     SSH/Telnet backends
app/api          REST API routers
app/uptime.py    uptime history, app/backup.py  backup and restore
app/forecast.py  when will a disk be full (growth trend) and the alert for it
app/reports.py   weekly summary and monthly availability report
app/probe_config.py  checks and monitors that the central Netlens sets up at a remote site
app/tsdb.py      metrics store (metrics.db): raw, 5-minute and hourly tiers behind the performance graphs
app/hostmetrics  health readings: SNMP client, SSH collector, monitors, limits and alerts
app/probes.py    remote sites (central side), app/central.py  reporting to a central Netlens (remote side)
app/rootcause.py groups alerts by the offline device that causes them
app/static       web UI (js/pages, js/cards)
tests