How shaffat01/netmonitor_pro works
NetMonitor Pro is a Flask-based network availability monitor. Users manage monitored nodes through the web dashboard, while scheduled or manual polling measures reachability and updates node status and downtime history; dashboard and detail views expose current health, statistics, and event timelines. The tree and excerpts support the monitoring, persistence, and UI architecture, but the README provides no feature documentation and portions of app.py and monitor.py are unsampled, so uncertain route wiring and integrations are omitted.
Main entry points: app.py Flask routes · models.py Data models · monitor.py Network monitor · main.js Dashboard UI
Components 17
Web interface
- Dashboard UI
static/js/main.js - Node detail UI
static/js/node_detail.js - Page templates
templates
Application services
- Flask routes
app.py - Monitor config
config.py - Node management
app.py - CSV import
app.py - Node API
app.py - Downtime APIs
app.py - Statistics API
app.py
Monitoring
- Network monitor
monitor.py - Windows alerts
win_notify.py - Polling scheduler
app.py
Monitoring state
- Data models
models.py - SQLite database
nodes.db
Other components
- Operator
- ICMP targets
Connections 26
- Operator → Dashboard UI: uses
- Operator → Node detail UI: opens
- Dashboard UI → Page templates: renders
- Node detail UI → Page templates: renders
- Dashboard UI → Node API: requests
- Dashboard UI → Statistics API: requests
- Dashboard UI → Downtime APIs: requests
- Node detail UI → Downtime APIs: requests
- Node detail UI → Node API: requests
- Node management → Data models: reads/writes
- CSV import → Data models: writes
- Node API → Data models: reads/writes
- Downtime APIs → Data models: reads/writes
- Statistics API → Data models: reads
- Polling scheduler → Network monitor: dispatches
- Flask routes → Network monitor: starts
- Flask routes → Node management: routes
- Flask routes → CSV import: routes
- Flask routes → Node API: routes
- Flask routes → Downtime APIs: routes
- Flask routes → Statistics API: routes
- Network monitor → Monitor config: reads
- Network monitor → ICMP targets: pings
- Network monitor → Data models: updates
- Data models → SQLite database: persists
- Network monitor → Windows alerts: alerts