NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Device → Get Disks

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve disk information for a specified device. It is useful in IT management scenarios where administrators need to monitor or audit the storage devices attached to a particular machine. For example, it can be used to fetch disk details such as capacity, usage, and status for inventory or troubleshooting purposes.

Use Case Examples

  1. Retrieve all disks attached to a device by providing the device ID to monitor storage health.
  2. Fetch disk information to audit storage allocation across multiple devices in an organization.

Properties

Name Meaning
Device ID The unique identifier of the device for which disk information is requested.
Request Options Settings to customize the API request behavior, including batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • disks - Array of disk objects retrieved from the specified device, containing details such as disk capacity, usage, and status.

Dependencies

  • NinjaOne API with OAuth2 authentication

Troubleshooting

  • Ensure the provided Device ID is correct and the device exists in the NinjaOne system to avoid 'device not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail to reach the NinjaOne API.
  • If SSL certificate validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Verify that the OAuth2 credentials are valid and have sufficient permissions to access device disk information.

Links

  • NinjaOne API Documentation - Official API documentation for NinjaOne, providing details on endpoints, authentication, and data structures.

Discussion