Complete AI Training

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.

All 15 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. 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

  1. Ask for missing inputs if not provided.
  2. Create a script that scans the network and inventories all devices, capturing the specified attributes.
  3. Automate updates to the inventory database: detect new devices, flag decommissioned ones, and update changes.
  4. Generate reports on device utilization, identifying potential risks or optimization opportunities based on the provided metrics.
  5. 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?