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: