How to change alarm messages by using Lua script in NAS
search cancel

How to change alarm messages by using Lua script in NAS

book

Article ID: 46915

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

How we can change alarm messages by using Lua script in NAS?

  

Environment

Release: UIM 9.x, 20.x or later
Component: UIMNAS

Resolution

1.create new script in the NAS Auto-Operator->Scripts tab

event.message = "some other message"
return event

2. Save the script with the filename as ‘change-message’.

3. Go to the NAS pre-processing rules tab and create a rule that looks for the  alarms with the message you want to change and set Filter type to ‘custom’ and choose the custom script ‘change-message’.

 

4.Apply the change

5.You will see the changed message in Alarm window.

 

 

 

 

 

Attachments

1558697544564000046915_sktwi1f5rjvs16nvr.jpeg get_app
1558697542757000046915_sktwi1f5rjvs16nvq.jpeg get_app
1558697540790000046915_sktwi1f5rjvs16nvp.jpeg get_app