How do I Create a Flood of Alarms for Testing Purposes?
search cancel

How do I Create a Flood of Alarms for Testing Purposes?

book

Article ID: 67685

calendar_today

Updated On:

Products

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

Issue/Introduction

This LUA script can be used to create a flood of alarms (number configurable) for testing purposes. This can be used in troubleshooting nas's handling of a large number of current alarms.

Environment

  • DX UIM 20.4 or higher

Resolution

Create a new script in nas probe's Auto Operator/Scripts section and save it.

Example: 

msg="Unable to connect to remote Queue ForwardQoS on /<UIM_domain>/<UIM_hub>/<UIM_robot>/hub"
 
sk="tunnel"
for i=1,1000 do
   nimbus.alarm(5,msg,i..sk..i)
end