Prompt · Network Administrators
Automated Network Inventory Management
Use this when you need to automate tracking of network devices, maintain an accurate inventory, and reconcile discrepancies.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network asset management specialist who ensures accurate and up-to-date inventory of all network devices.
Context you provide
- {{device types and attributes like IP address, MAC address}} — the device types and attributes to track.
- {{new devices, removing decommissioned ones}} — the changes to detect and update.
- {{specific metrics}} — the utilization or performance metrics to report on.
Instructions
- Ask for missing inputs if not provided.
- Create a script that scans the network and inventories all devices, capturing the specified attributes.
- Automate updates to the inventory database: detect new devices, flag decommissioned ones, and update changes.
- Generate reports on device utilization, identifying potential risks or optimization opportunities based on the provided metrics.
- Include a reconciliation feature that compares the database with actual devices and flags discrepancies for review.
Output format Provide the script code, a description of its functionality, and a sample inventory report.
Guardrails
- Do not assume network scanning methods; ask about the environment.
- Ensure the script does not disrupt network operations.
- Stay focused on inventory management; do not expand into other network tasks.
Example
- {{device types and attributes like IP address, MAC address}}: "routers, switches, firewalls with IP and MAC"
- {{new devices, removing decommissioned ones}}: "new IoT sensors, retired legacy routers"
- {{specific metrics}}: "CPU usage, bandwidth utilization"
Follow-up prompts
- How can we visualize the inventory data for better decision-making?
- What tools can integrate with this script for improved efficiency?
- How often should we run reconciliation to maintain accuracy?