netalertx-sample-data

Generate synthetic device data and import it into NetAlertX via the /devices/import endpoint.

6.9k|426|Updated Dec 23, 2021
One-click install
npx skills add https://github.com/netalertx/NetAlertX --skill netalertx-sample-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netalertx-sample-data
Source: https://github.com/netalertx/NetAlertX/tree/main/.github/skills/sample-data
Command: npx skills add https://github.com/netalertx/NetAlertX --skill netalertx-sample-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams quickly populate a development environment with realistic, synthetic device records to test inventory workflows without relying on real data.

Core Features & Use Cases

  • Generate synthetic device inventories (MAC addresses, IPs, hostnames, vendors) and export to a CSV compatible with the NetAlertX backend.
  • Import generated data via the /devices/import API to seed the database and validate UI flows.
  • Use for development, testing, and QA to reproduce real-world network inventories.

Quick Start

Run the data-loading script inside the devcontainer: cd /workspaces/NetAlertX/.devcontainer/scripts ./load-devices.sh

Frequently Asked Questions about netalertx-sample-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate synthetic device data for NetAlertX testing?

Generate synthetic device data by running the load-devices.sh script inside the devcontainer. The script produces a CSV file with realistic device records—MAC addresses, IPs, hostnames, and vendors—that you can import into NetAlertX to seed the database without relying on real inventory data.

Can I import CSV device inventory directly into NetAlertX via API?

Yes, the /devices/import API endpoint accepts CSV files generated by the data-loading script. POST the CSV to populate your database, enabling you to validate API endpoints and UI flows against a realistic device inventory.

What's the quickest way to populate a development environment with test devices?

Run the data-loading script from the devcontainer's scripts directory: cd /workspaces/NetAlertX/.devcontainer/scripts && ./load-devices.sh. This generates and imports synthetic devices in one step, avoiding manual data entry.

Do I need a running backend to seed synthetic device data?

Yes, the backend must be running before importing data via the /devices/import endpoint. Ensure your NetAlertX development environment is fully initialized before executing the data-loading script.

What use cases does synthetic device inventory support?

Synthetic device data supports development, testing, and QA workflows. Use it to reproduce real-world network inventories, test inventory workflows, and validate API endpoints and UI flows without consuming production data.