Bulk closing of alarms through UIMAPI
search cancel

Bulk closing of alarms through UIMAPI

book

Article ID: 246836

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)

Issue/Introduction

Have a need for bulk closing of alarms with given nimids, initiated by a program based on user input.
This action needs to be performed within a reasonable amount of time, and we need to indicate to the user if the action failed.

 Have attempted using the UIMAPI (PUT /uimapi/alarms/<nimid>/ack) for this, but ran into several problems:

  1.  Closing multiple alarms requires multiple requests;
  2.  It takes a long time (about 0.4 seconds per alarm), even if all of the requests are sent at once (the duration of each request scales with the number of requests);
  3.  When closing a large number of alarms (starting at ~200), the API does not seem to respond (we gave up after several hours); and
  4.  When a request in cancelled, it frequently causes subsequent alarm related requests to hang, requiring a restart to the ems probe.

 

 

Environment

Release : 20.4

Component : UIM - API

Robot version 9.35,
hub version 9.34hf3,
wasp/UIMAPI version 20.42,
nas version 9.34hf1, and
ems version 10.28.

Resolution

UIM 20.4 CU6 and later Delivers this abilty: 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/unified-infrastructure-management/20-4/release-notes/what-s-new-2046.html 

DX UIM API updated to support bulk alarm actions for automation.
For more information, see the Bulk API Alarm Action section in the uimapi Call Reference article