What are the options to change a default, out-of-the-box original alarm message to a new alarm message?
- nas 9.31_HF1 or higher
Release : 20.3
Component : UIM NAS
This article describes a few options for creating a new alarm, e.g., replacing a default/hard-coded probe alarm with a new alarm of your choice.
1. The simplest approach to consider would be this (if it meets your essential requirements):
When the alarm is generated and received by the hub message bus, you could use a nas Auto Operator (AO) filter on it using a message filter, e.g., regex such as /.*<message_string>.*/ and use an nas AO profile Action type of "new_alarm"
Composes and sends a new alarm message onto the UIM bus. The message field accepts expansion. The alarm may contain the following optional elements in addition to a message body and severity level:
- Subsystem ID
- Suppression ID
To clean up the nas of the original message, another nas AO profile can be set to look for the original message using one or more filters in your nas AO profile and close it automatically after being open for x number of minutes (On overdue age), to avoid leftover alarm "clutter" in the alarm console.
2. Create new alarm using a Lua script
3. Use alarm_enrichment to overwrite a message