Author: Eoin Joy
These scripts are designed with the purpose of turning an alarm discovered during an alarm sync into a trap to be processed by the normal trap handling process.
This script takes the discovered alarm we have determined we wish to create a local alarm for and finds the trap knowledge that would apply to it.
TrapKnowledge
networkElement – NetworkElement – The NetworkElement that the DiscoveredAlarm was found on.
discoveredAlarm – DiscoveredAlarm – The DiscoveredAlarm in question.
This script takes the discovered alarm as well as its calculated trap knowledge and network element and generates a trap object to throw to the distributor as if to emulate the arrival of a real trap.
Trap – A real trap object that will be sent to the distributor.
networkElement – NetworkElement – The NetworkElement that the DiscoveredAlarm was found on.
discoveredAlarm – DiscoveredAlarm – The DiscoveredAlarm in question.
trapKnowledge – TrapKnowledge – The TrapKnowledge entry found by the Trap Knowledge script.
This script is unused.