How smk1367/scan works
Wireless Monitor Enterprise is a web dashboard and multi-city wireless-device monitor. Users browse cities and device details, or start a scan; the service scans configured targets, collects device data, and exposes results and scan history. The README also describes blacklist/manual-radio management, Excel import/export, automatic backups, and history retention. Source excerpts show the web and persistence boundaries, but omit the background worker implementation, so uncertain internal scan wiring is not expanded.
Main entry points: app.py HTTP service · scanner.py Target scanner · excel_manager.py Excel import/export · index.html Web dashboard
Components 22
Dashboard and API
- Web dashboard
index.html - HTTP service
app.py - City settings
database.py
Scanning and collection
- Scan worker
app.py - Target scanner
scanner.py - SNMP collection
scanner.py - RouterOS collection
scanner.py - RouterOS API client
routeros_api.py - SSH fallback
scanner.py
Monitoring state
- Device records
database.py - Scan history
database.py - Change history
database.py
Management and export
- Blacklist and targets
database.py - Manual radios
database.py - Excel import/export
excel_manager.py - Automatic backups
app.py
Other components
- Operator
- MikroTik devices
- Other network devices
- SNMP agents
- SSH endpoints
- Backup files
Connections 28
- Operator → Web dashboard: uses
- Web dashboard → HTTP service: requests
- HTTP service → Web dashboard: serves
- HTTP service → City settings: reads settings
- HTTP service → Scan worker: starts scan
- Scan worker → Target scanner: scans targets
- Target scanner → City settings: reads settings
- Target scanner → SNMP collection: collects data
- Target scanner → RouterOS collection: collects data
- Target scanner → SSH fallback: falls back
- RouterOS collection → RouterOS API client: issues commands
- SNMP collection → SNMP agents: queries
- RouterOS API client → MikroTik devices: queries
- SSH fallback → SSH endpoints: connects
- Target scanner → Other network devices: probes
- Target scanner → Device records: upserts records
- Scan worker → Scan history: records results
- Scan worker → Change history: records changes
- HTTP service → Device records: reads and updates
- HTTP service → Scan history: reads history
- HTTP service → Blacklist and targets: manages entries
- HTTP service → Manual radios: manages radios
- HTTP service → Excel import/export: imports and exports
- Excel import/export → Device records: reads and writes
- Excel import/export → Blacklist and targets: reads and writes
- Excel import/export → Manual radios: reads and writes
- HTTP service → Automatic backups: runs backups
- Automatic backups → Backup files: writes files