How to add/append a custom string to alarms that do not support customization
search cancel

How to add/append a custom string to alarms that do not support customization

book

Article ID: 246174

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I need to add a custom string at the end of some alarms.  These alarms cannot be customized in the sending probe but I need to add information.

For example, the alert which the hub sends when it cannot connect to a configured queue:

Queue 'GET-UIM-ALARMS' failed to connect to hub /Domain/hubname/hubrobot/hub

 

We want to append "Call Service Desk" onto this alarm so it appears as follows: 

Queue 'GET-UIM-ALARMS' failed to connect to hub /Domain/hubname/hubrobot/hub Call Service Desk.

 

Environment

Release : 20.x

Component : UIM NAS

Resolution

1. First we need to create a LUA script in NAS which takes an event message and appends " Call Service Desk." to the given message:

 

This in turn is coupled with a pre-processing rule in NAS which matches the characteristics of the desired alarm:

 

 

 

 

Result:

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/nas-alarm-server/nas-im-configuration/the-nas-auto-operator-tab.html