User Tools
ems:discovered_trap_configuration
Differences
This shows you the differences between two versions of the page.
| ems:discovered_trap_configuration [2017/05/24 14:51] – created ejoy | ems:discovered_trap_configuration [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Discovered Trap Scripts ====== | ||
| + | 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. | ||
| + | ===== Trap Knowledge ===== | ||
| + | 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. | ||
| + | ==== Return Value ==== | ||
| + | // | ||
| + | ==== Inserted Variables ==== | ||
| + | **networkElement** – // | ||
| + | **discoveredAlarm** – // | ||
| + | ===== To Trap ===== | ||
| + | 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. | ||
| + | ==== Return Value ==== | ||
| + | //Trap// – A real trap object that will be sent to the distributor. | ||
| + | ==== Inserted Variables ==== | ||
| + | **networkElement** – // | ||
| + | **discoveredAlarm** – // | ||
| + | **trapKnowledge** – // | ||
| + | ===== Trap Knowledge Override ===== | ||
| + | This script is unused. | ||