Build a home-lab inventory in NetBox with an agent
A home-lab writer had a self-hosted agent discover servers, VMs and network gear and record them in NetBox, instead of keeping the inventory by hand.
Steps
- Give it an API token for NetBox and read access to the hosts
- Let it propose entries first, then write them
- Re-run monthly to catch drift
Starter prompt
Scan my lab hosts over SSH, list every VM, IP and interface you find, and show me the NetBox entries you would create. Wait for my OK before writing.
Guardrail: Start read-only and add write access step by step.
Prompts are our own examples. Results from sources are as reported by their authors.