UIM - update alarms custom fields with LUA script
search cancel

UIM - update alarms custom fields with LUA script

book

Article ID: 95394

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We need to integrate our alarms to a third party tool.
We need to update the alarm with information based on robot and message so that
when the alarm gets to our third party application they can use the information
to properly route the alarms.
 

How can we update alarms user fields using NAS LUA script to be able to add
custom information in-order to be used by third party tools.
 

Environment

UIM 20.x
 

Resolution

Below is a sample script to update custom1 field using nas.

msg = "Custom Value for Ticketing system"
event.custom1= msg
print("Script Custom 1" .. event.custom1)
return event

Additional Information

Related KB:

UIM - Update an individual alarm with custom information (broadcom.com)