r/Netbox • u/antoinekh • 1d ago
[NetBox plugin] netbox-spatial-lens: your estate in 3D, from the world map down to the rack, coloured by role, space, power or more
NetBox knows every rack: its height, its power feeds, its cooling. It does not know where the rack stands in the room. So I wrote netbox-spatial-lens, a plugin that draws your estate at three levels, one click apart:
World map: your sites and circuits on a globe.
Floor: the room in 3D, each rack at its real position. Open every rack at once to see its devices, or switch to 2D over your floor plan.
Rack: the cabinet in 3D, with the real device images and the cables. Click a cable to trace it end to end.
Each view has its own colourings: role, space, power, cooling, tenant, status, and redundancy (which devices reach only one power feed). Click a legend to filter the view, and export any view as a PNG.
It is extensible: filter by your own custom fields with one setting, or add your own colouring from your plugin.
You place the racks once, with drag and drop on the plan. The floor plan can be an image or a PDF.
It also helps the people who are not on site. Share a view with a remote colleague, and they understand the room without going there.
And you can flex a little. Your data hall never looked this good 😎
After a few months of work, a lot of tokens, and a few releases, I think it is ready to share.
Repo, docs and video: https://github.com/antoinekh/netbox-spatial-lens
Feedback appreciated!


