Network Config v2.0.0 — a sysops toolkit for scanning, monitoring, alerting, benchmarking, and managing network configurations from the command line. All data is stored locally with full history tracking, search, and multi-format export.
Run network-config <command> [args] to use. Each data command accepts optional input — with no arguments it shows recent entries; with arguments it records a new entry.
CommandDescriptionscan [input]Scan network configurations and record findingsmonitor [input]Monitor network state and log observationsreport [input]Generate or record network reportsalert [input]Create and review network alertstop [input]Track top-level network metricsusage [input]Record and review network usage datacheck [input]Run and log network health checksfix [input]Document network fixes appliedcleanup [input]Log network cleanup operationsbackup [input]Record network config backupsrestore [input]Log network config restorationslog [input]General-purpose network loggingbenchmark [input]Record network benchmark resultscompare [input]Log network comparison datastatsShow summary statistics across all entry typesexport <fmt>Export all data (formats: json, csv, txt)search <term>Full-text search across all log entriesrecentShow the 20 most recent history entriesstatusHealth check — version, data dir, entry count, disk usagehelpShow built-in help messageversionPrint version string ( network-config v2.0.0)
~/.local/share/network-config/ as plain-text logsYYYY-MM-DD HH:MM timestampshistory.log tracks every action for auditabilityAll data is stored in ~/.local/share/network-config/:
scan.log, monitor.log, report.log, alert.log, top.log, usage.log, check.log, fix.log, cleanup.log, backup.log, restore.log, log.log, benchmark.log, compare.log — per-command entry logshistory.log — unified audit trail of all operationsexport.json, export.csv, export.txt — generated export filesEach entry is stored as YYYY-MM-DD HH:MM|<value> (pipe-delimited).
Override the data directory by setting NETWORK_CONFIG_DIR (not yet wired — default is ~/.local/share/network-config/).
set -euo pipefail)date, wc, du, tail, grep, sed, cat, basenamenetwork-config scan "192.168.1.0/24 — 14 hosts found" after scanning your subnetnetwork-config monitor "latency 12ms to gateway" to build a time-series lognetwork-config alert "DNS resolution failing for api.example.com" for later reviewnetwork-config backup and network-config restorebash
# Show all available commands
network-config help
# Record a network scan result
network-config scan "Found 23 active hosts on 10.0.0.0/24"
# Log a monitoring observation
network-config monitor "WAN latency spike: 85ms avg over last hour"
# Create an alert entry
network-config alert "Interface eth0 dropped 12 packets in 5 min"
# Record a benchmark
network-config benchmark "iperf3 TCP throughput: 940 Mbps"
# View summary statistics
network-config stats
# Search all logs for a term
network-config search "eth0"
# Export everything to JSON
network-config export json
# Check tool health
network-config status
# View recent activity
network-config recent
Network Config stores all data locally in ~/.local/share/network-config/. Each command logs activity with timestamps for full traceability. When called without arguments, data commands display their most recent 20 entries. When called with arguments, they append a new timestamped entry and update the unified history log.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com