How erwxn/local-network-monitoring-tool works
LocalNet Monitor is a terminal network-monitoring CLI. It loads and expands configured targets, continuously resolves and pings each host concurrently, computes availability and latency metrics, then renders them in a live Rich dashboard. The single source file implements these distinct stages and the result-state layer. The README documents URL, CIDR, and range support; the excerpt shows CIDR/range expansion and URL-prefix cleanup. This is a compact runtime, so the graph stays focused on its actual workflow.
Main entry points: networkmonitoring.py NetworkMonitor · hosts.txt Host list
Components 11
Target Setup
- Host list
hosts.txt - NetworkMonitor
networkmonitoring.py - Host expansion
networkmonitoring.py
Host Monitoring
- Host results
networkmonitoring.py - Ping workers
networkmonitoring.py - ICMP ping
- Reverse DNS
- Metrics calculation
networkmonitoring.py
Live Dashboard
- Rich dashboard
networkmonitoring.py
Other components
- Administrator
- Terminal
Connections 13
- Administrator → Host list: configures targets
README.md - NetworkMonitor → Host list: loads targets
networkmonitoring.py - NetworkMonitor → Host expansion: expands targets
networkmonitoring.py - Host expansion → Host results: creates results
networkmonitoring.py - NetworkMonitor → Ping workers: starts workers
networkmonitoring.py - Ping workers → Host results: updates
networkmonitoring.py - Ping workers → ICMP ping: sends ICMP
networkmonitoring.py - Ping workers → Reverse DNS: resolves names
networkmonitoring.py - Host results → Metrics calculation: calculates metrics
networkmonitoring.py - NetworkMonitor → Rich dashboard: refreshes view
networkmonitoring.py - Rich dashboard → Host results: reads status
networkmonitoring.py - Rich dashboard → Terminal: renders dashboard
networkmonitoring.py - Administrator → NetworkMonitor: runs CLI
networkmonitoring.py