Datto RMM

Interact with Datto RMM API to manage devices, sites, alerts, and monitoring

Overview

This node interacts with the Datto RMM API to retrieve information about jobs executed within the system. Specifically, the "Get Standard Error" operation under the "Job" resource fetches the standard error output generated by a particular job on a specified device. This is useful for monitoring and troubleshooting automated tasks or scripts run via Datto RMM, allowing users to quickly identify errors or issues that occurred during job execution.

Practical examples include:

  • Retrieving error logs from a deployment script run on a remote device.
  • Diagnosing why a scheduled maintenance job failed by examining its standard error output.
  • Automating alerts or follow-up actions based on error outputs from jobs.

Properties

Name Meaning
Job Select the specific job from the list of available jobs to retrieve the standard error for.
Device Select the device on which the job was run, to get the corresponding job's standard error.

Output

The node outputs JSON data containing the standard error content of the selected job executed on the specified device. The exact structure depends on the API response but typically includes textual error messages or logs captured during the job run.

If the job produces binary data in its error output (unlikely for standard error), it would be represented accordingly, but this operation primarily deals with textual error output.

Dependencies

  • Requires an active connection to the Datto RMM API using an API key credential configured in n8n.
  • The node relies on the Datto RMM API endpoints to fetch job and device lists dynamically for property selection.
  • Network access to the Datto RMM service endpoint as configured in the node credentials.

Troubleshooting

  • Common Issues:

    • Selecting a job or device that no longer exists or is inaccessible may result in empty or error responses.
    • Insufficient permissions or invalid API credentials can cause authentication failures.
    • Network connectivity problems to the Datto RMM API will prevent data retrieval.
  • Error Messages:

    • "Resource job is not supported yet." — indicates an unsupported resource; unlikely here since "job" is implemented.
    • API errors related to authorization or missing parameters should be resolved by verifying credentials and input selections.
    • Loading options for jobs or devices might fail if the API rate limits or returns errors; retrying or checking API status is advised.

Links and References

Discussion