NetXMS icon

NetXMS

Interact with the NetXMS network monitoring and management system

Alarm Category → Get

AI-generated

Summary

Fetches a single NetXMS alarm category by its numeric ID via GET /v1/alarm-categories/{categoryId}.

Inputs

  • Category ID (required) — Numeric ID of the alarm category to retrieve. Defaults to 0, so set it to a real category ID.

Output shape

One item per input item, containing the alarm category record as returned by the NetXMS REST API.

The node logs in to NetXMS with the credential's username and password on each execution to obtain a session token. If the request fails (for example, the ID doesn't exist), the node throws an error. With Continue On Fail enabled, it returns an item with an error message instead. The exact fields of the category are defined by the server and aren't specified in the node source.

Examples

Example 1: Look up the details of a known alarm category before updating it.

Resource: Alarm Category; Operation: Get; Category ID: 5

Example 2: Resolve category details for each incoming item using an ID from a previous node.

Resource: Alarm Category; Operation: Get; Category ID: {{ $json.categoryId }}

Links

Discussion