Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Site → Get Racks
AI-generatedOverview
This node interacts with the NetBox API to retrieve rack information associated with a specific site within the DCIM domain. It is useful for network administrators or IT professionals who need to programmatically access rack data for inventory, monitoring, or management purposes. For example, it can be used to fetch all racks in a data center site to automate asset tracking or capacity planning.
Use Case Examples
- Retrieve all racks for a given site ID in the DCIM domain to generate an inventory report.
- Fetch a limited number of racks from a site to display in a dashboard or UI component.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, e.g., DCIM. |
| Site ID | The unique identifier of the site for which racks are to be retrieved. |
| Return All | Determines whether to return all rack results or limit the number of results. |
| Limit | Maximum number of rack results to return if 'Return All' is false. |
Output
JSON
id- Unique identifier of the rack.name- Name of the rack.site_id- Identifier of the site the rack belongs to.status- Current status of the rack.role- Role or purpose of the rack.units- Number of units (height) of the rack.serial- Serial number of the rack.comments- Additional comments or notes about the rack.
Dependencies
- NetBox API
- An API key credential for authentication
Troubleshooting
- Ensure the Site ID is valid and exists in the NetBox instance to avoid 'not found' errors.
- Check API credentials and permissions if authentication errors occur.
- If the node returns fewer racks than expected, verify the 'Return All' and 'Limit' settings.
Links
- NetBox API Documentation - Racks - Official documentation for the NetBox API endpoint to retrieve rack information.