Basic information
About reset-netalertx-database
Wipe and regenerate the NetAlertX database and config. Use this when asked to reset database, wipe db, fresh database, clean slate, or start fresh.
reset-netalertx-database is an agent skill listed in the AddMCP.net directory, published by netalertx. Runtime: Python. License: GPL-3.0. The repository has 7,348 GitHub stars. Source code is hosted on github.com. Related topics: arp-scan, asset-management, dcim, ipam, network-analysis.
Overview
What is reset-netalertx-database?
name: reset-netalertx-database description: Wipe and regenerate the NetAlertX database and config. Use this when asked to reset database, wipe db, fresh database, clean slate, or start fresh.
Database Reset
Completely wipes devcontainer database and config, then regenerates from scratch.
Command
killall 'python3' || true
sleep 1
rm -rf /data/db/* /data/config/*
bash /entrypoint.d/15-first-run-config.sh
bash /entrypoint.d/20-first-run-db.shWhat This Does
- Kills backend to release database locks
- Deletes all files in
/data/db/and/data/config/ - Runs first-run config provisioning
- Runs first-run database initialization
After Reset
Run the startup script to restart services:
/workspaces/NetAlertX/.devcontainer/scripts/setup.shDatabase Location
- Runtime:
/data/db/app.db(SQLite) - Config:
/data/config/app.conf
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In