AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

This node integrates with the AvantGuard NinjaOne system to retrieve alert information. Specifically, the "Get Alerts" operation under the "System" resource fetches alerts generated by the system, which can be useful for monitoring device or system health, security events, or other important notifications.

Typical use cases include:

  • Automatically fetching and processing system alerts to trigger workflows based on specific alert types.
  • Filtering alerts by source type, device, language, or time zone to tailor alert handling.
  • Integrating alert data into dashboards or notification systems for real-time monitoring.

For example, a user might configure this node to pull all security-related alerts from a particular device and then send an email notification if any critical alerts are found.

Properties

Name Meaning
Additional Query Parameters Optional filters and settings for the alert query. Includes:
- Source Type: Filter alerts by their source.
- Df: Filter alerts by device.
- Lang: Specify language tag for alert messages.
- Tz: Set the time zone context for alert timestamps.

Output

The node outputs JSON data representing the alerts retrieved from the system. The structure typically includes details about each alert such as its source, associated device, timestamp (adjusted for the specified time zone), language, and other relevant metadata.

If the system supports binary data in alerts (e.g., attached logs or screenshots), the node would handle that accordingly, but based on the provided code and properties, the output is primarily JSON-formatted alert data.

Dependencies

  • Requires an API key credential for authenticating with the AvantGuard NinjaOne API.
  • Needs the base URL of the NinjaOne API configured in the credentials.
  • Depends on the @avantguardllc/n8n-openapi-node package for OpenAPI integration.
  • The node uses standard HTTP headers (Accept: application/json, Content-Type: application/json) for requests.

Troubleshooting

  • Common Issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Invalid filter values in additional query parameters may result in empty responses or errors.
    • Network connectivity issues to the NinjaOne API endpoint can prevent data retrieval.
  • Error Messages:

    • Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
    • HTTP 400 errors may suggest malformed query parameters; check the spelling and format of filters.
    • Timeout or connection errors require checking network access and API availability.

Links and References

Discussion