How chitvijoshi/netsnoop works
NetSnoop monitors host processes for five anomaly classes, turns detections into alerts, and persists them to CSV for a Streamlit dashboard. The README documents the complete capability set; sampled monitor excerpts show alert construction, observers, CSV persistence, platform access, and memory scanning, but do not expose the full monitor orchestration or all detector implementations. Dashed links mark those documented but unsampled connections.
Main entry points: monitor_simple.py Monitor system · dashboard_simple.py Dashboard application
Components 20
Monitoring engine
- Monitor system
netsnoop/monitor_simple.py - Platform access
netsnoop/monitor_simple.py - Memory detection
netsnoop/monitor_simple.py - CPU detection
netsnoop/monitor_simple.py - Process burst detection
netsnoop/monitor_simple.py - Network detection
netsnoop/monitor_simple.py - Thread detection
netsnoop/monitor_simple.py - Threshold configuration
netsnoop/monitor_simple.py
Alert handling
- Alert construction
netsnoop/monitor_simple.py - Alert filters
netsnoop/monitor_simple.py - Alert observers
netsnoop/monitor_simple.py - CSV alert store
netsnoop/monitor_simple.py - Alert log
netsnoop/monitor_simple.py
Dashboard
- Dashboard application
netsnoop/dashboard_simple.py - CSV repository
netsnoop/dashboard_simple.py - Dashboard view models
netsnoop/dashboard_simple.py - Charts and metrics
netsnoop/dashboard_simple.py - Alert table and filters
netsnoop/dashboard_simple.py
Other components
- System operator
- Host processes
Connections 31
- System operator → Monitor system: starts monitoring
README.md - Monitor system → Memory detection: starts detector
README.md - Monitor system → CPU detection: starts detector
README.md - Monitor system → Process burst detection: starts detector
README.md - Monitor system → Network detection: starts detector
README.md - Monitor system → Thread detection: starts detector
README.md - Memory detection → Platform access: scans processes
netsnoop/monitor_simple.py - CPU detection → Platform access: reads process usage
README.md - Process burst detection → Platform access: tracks process creation
netsnoop/monitor_simple.py - Network detection → Platform access: reads connections
README.md - Thread detection → Platform access: reads thread counts
README.md - Host processes → Platform access: provides process data
README.md - Threshold configuration → Memory detection: sets thresholds
netsnoop/monitor_simple.py - Threshold configuration → CPU detection: sets thresholds
README.md - Threshold configuration → Process burst detection: sets thresholds
README.md - Threshold configuration → Network detection: sets thresholds
README.md - Threshold configuration → Thread detection: sets thresholds
README.md - Memory detection → Alert construction: builds alerts
README.md - CPU detection → Alert construction: builds alerts
README.md - Process burst detection → Alert construction: builds alerts
README.md - Network detection → Alert construction: builds alerts
README.md - Thread detection → Alert construction: builds alerts
README.md - Alert construction → Alert observers: notifies observers
netsnoop/monitor_simple.py - Alert observers → CSV alert store: writes alerts
README.md - Alert observers → Alert log: writes log
netsnoop/monitor_simple.py - System operator → Dashboard application: opens dashboard
README.md - Dashboard application → CSV repository: loads alert data
netsnoop/dashboard_simple.py - CSV repository → CSV alert store: reads alerts
README.md - Dashboard application → Dashboard view models: prepares views
netsnoop/dashboard_simple.py - Dashboard view models → Charts and metrics: supplies statistics
netsnoop/dashboard_simple.py - Dashboard view models → Alert table and filters: supplies alert rows
netsnoop/dashboard_simple.py