How can we use the API to list which threshold profile is responsible for generating specific alarms for our groups/devices?
search cancel

How can we use the API to list which threshold profile is responsible for generating specific alarms for our groups/devices?

book

Article ID: 370051

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

We have threshold profiles created to generate events for violations against certain groups/devices, and we require an API query that can list which threshold profile is responsible for generating which alarm.

Environment

DX NetOps Performance Management - All releases

Resolution

There is no direct report or simple way to achieve it. Instead, you need to use the following REST endpoints provided by the Data Aggregator (DA):

1. Thresholds and Monitoring Profiles

Thresholds are actual items, and attributes on these items store the values for the rules. To access these profiles and their rules, use the following endpoints:

  • Profiles with Links to Rules:
     
    http://DA:8581/rest/eventprofiles
     
  • Rules for the Profiles:
     
    http://DA:8581/rest/eventrules
  • Profile Folder to Profiles Link:
     
    http://DA:8581/rest/eventprofilegroups

Make sure to adjust the ports and protocols as needed if the Data Aggregator is running HTTPS instead of HTTP.

2. Mapping Between DA and Portal Groups

To map between Data Aggregator and Portal groups, refer to the following knowledge base article:

3. Group Contents

To understand the contents of a group, refer to the following knowledge base article:

4. Device Type and SysOID Information

To get the device type and SysOID, use the following endpoint:

  • Manageable Devices:
     
    http://DA:8581/rest/devices/manageable

5. Specific Attributes from DA REST

To get specific attributes back from the DA REST API, refer to the following knowledge base article:

Documentation for REST Endpoints

For detailed documentation on any REST endpoint, you can append /documentation to the endpoint URL. For example:

  • Event Profile Groups Documentation:
     
    http://DA:8581/rest/eventprofilegroups/documentation

Additional Information

For more comprehensive information on the Data Aggregator and Portal REST APIs, visit the following link:

By using these REST endpoints and resources, you can effectively manage and retrieve information about your monitoring profiles and related configurations.