NetBox icon

NetBox

Consume NetBox API

Actions243

Rack → Get Units

AI-generated

Overview

This node interacts with the NetBox API to retrieve information about rack units within a specified rack. It is useful in scenarios where users need to fetch detailed unit data for a particular rack in a data center management context, such as monitoring rack space usage or planning hardware installations.

Use Case Examples

  1. Retrieve all units for a specific rack by providing the rack ID and domain 'dcim'.
  2. Use the node to get detailed unit information for inventory management or capacity planning in a data center.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to interact with, such as 'dcim' for data center infrastructure management.
ID The unique identifier of the rack for which units are to be retrieved.

Output

JSON

  • units - Array of unit objects representing the units within the specified rack.

Dependencies

  • NetBox API
  • An API key credential for authentication

Troubleshooting

  • Ensure the provided rack ID is valid and exists in the NetBox instance to avoid 'not found' errors.
  • Verify that the API key credential has sufficient permissions to access rack unit data.
  • Check network connectivity to the NetBox API endpoint if requests fail.

Links

Discussion