Scans¶
Network scanning with nmap.

How Scanning Works¶
flowchart LR
A[Trigger Scan] --> B[nmap Execution]
B --> C{Profile}
C -->|Quick| D[Ping Sweep]
C -->|Normal| E[Port Scan + Services]
C -->|Intensive| F[Full Analysis + Scripts]
D --> G[Process Results]
E --> G
F --> G
G --> H[Store in Database]
H --> I[Detect Changes]
I --> J[Update Dashboard] Scan Profiles¶
| Profile | nmap Command | Use Case | Duration |
|---|---|---|---|
| Quick | nmap -sn -T4 | Device discovery | ~30 seconds |
| Normal | nmap -sV -T4 -p 1-1000 | Security audits | 3-5 minutes |
| Intensive | nmap -A -T4 | Deep analysis | 15-30 minutes |
Profile Selection Guide
- Quick: Use for frequent checks (hourly/daily) - just confirms devices are online
- Normal: Use for security monitoring (daily/weekly) - detects open ports and services
- Intensive: Use sparingly (weekly/monthly) - full OS detection and vulnerability scripts
Running Scans¶
- Click Run Scan in the navigation bar
- Select scan profile
- (Optional) Override subnet
- Monitor progress in real-time
Real-time Progress
The UI shows live scan progress including current host and discovered devices.
Scan History¶
View past scans with:
| Column | Description |
|---|---|
| Timestamp | When scan completed |
| Status | Completed, Running, Failed |
| Profile | Quick, Normal, Intensive |
| Subnet | Network range scanned |
| Devices | Number of hosts found |
Click any scan to view its device snapshot at that point in time.
Compare Scans¶
Select two scans to see differences:
| Change Type | Description |
|---|---|
| Devices Added | New hosts appeared |
| Devices Removed | Hosts disappeared |
| Ports Opened | New services detected |
| Ports Closed | Services stopped |
| Service Changed | Version/product updates |
Baseline Comparison
Compare your latest scan to a known-good baseline to quickly identify unexpected changes.
Change Detection¶
Enable change detection to track network modifications over time.
How to Enable¶
Change Types¶
| Type | Trigger |
|---|---|
device_added | New MAC address seen |
device_removed | MAC address not responding |
port_opened | New port detected open |
port_closed | Previously open port now closed |
service_changed | Service name/version changed |
Scheduling Scans¶
Automate regular network scanning.
# Quick scan every 6 hours
0 */6 * * * cd /opt/argus && python scan_cli.py scan --profile quick --detect-changes
# Normal scan nightly at 2 AM
0 2 * * * cd /opt/argus && python scan_cli.py scan --profile normal --detect-changes
# Intensive scan weekly (Sunday 3 AM)
0 3 * * 0 cd /opt/argus && python scan_cli.py scan --profile intensive --detect-changes
Settings Scheduled Scans Add Schedule
Cron Expression Reference¶
| Expression | Schedule |
|---|---|
0 2 * * * | Daily at 2 AM |
0 */6 * * * | Every 6 hours |
0 2 * * 0 | Sunday at 2 AM |
*/30 * * * * | Every 30 minutes |
0 2 * * 1-5 | Weekdays at 2 AM |
Scan Frequency
- Quick: Safe to run frequently (hourly or more)
- Normal: Recommended daily or every few hours
- Intensive: Weekly or less - generates significant traffic