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.
Release : 20.x
Component : UIM NAS
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:
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