I want to add corrective action in information template. The alarms has been assigned on basis of severity. I want to distinguish corrective action on basis of other events then how can I add that to information template.
I want to add corrective action if probable cause is suppose"8" and severity can be anything. Also, if the probable cause number changes to suppose"1330" then the corrective action should change in a template.
How to distinguish the corrective actions on the basis of probable cause in information template.
I am not sure if it is possible to change the corrective action of an information template dynamically. A possible option here is using an alarm property that will contain the value of the corrective action. For this case, you will need to use a correlation rule and automation script that will update the alarm property. The workflow should go as follows:
- An alarm will trigger a correlation rule
- The correlation rule will execute an automation script. You can pass information of the alarm (that triggered the correlation rule) to the automation script using How do I parse Correlation Alarm Info data?
- In the automation script, you could check the value of the parameter 'Probable Cause' based on the information of the alarm (you will get the DMA ID, Element ID and Index). Using the method SetAlarmProperty, you can update the alarm property accordingly
Hope it helps!