AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

This node interacts with the AvantGuard NinjaOne API to retrieve information about disk drives associated with a specific device. It is useful in IT management and monitoring scenarios where you need to gather hardware details of managed devices, such as checking storage configurations or auditing disk usage.

A practical example would be an IT administrator automating asset inventory by fetching disk drive details for each device in their network to ensure compliance or plan upgrades.

Properties

Name Meaning
Id Device identifier (number). Specifies which device's disk drives to retrieve. This property is required.

Output

The node outputs JSON data containing details about the disk drives of the specified device. The exact structure depends on the API response but typically includes fields such as disk drive identifiers, sizes, types, and status information.

If the node supports binary data output (not evident from the provided code), it would represent any non-JSON data related to the disk drives, such as disk images or logs.

Dependencies

  • Requires an API key credential for authenticating with the AvantGuard NinjaOne service.
  • Needs the base URL of the NinjaOne API configured in the node credentials.
  • Depends on the @avantguardllc/n8n-openapi-node package and the OpenAPI specification (openapi.json) bundled with the node for request building.

Troubleshooting

  • Common issues:

    • Invalid or missing device ID will cause the API call to fail or return no data.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems can prevent reaching the NinjaOne API endpoint.
  • Error messages:

    • Authentication errors usually indicate invalid API keys; verify and update credentials.
    • "Device not found" or similar errors suggest the provided device ID does not exist; confirm the ID is correct.
    • Timeout or connection errors may require checking network settings or API availability.

Links and References

Discussion