User Tools

Site Tools


ems:discovered_trap_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ems:discovered_trap_configuration [2017/05/24 14:51] – created ejoyems: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 ====
 +//TrapKnowledge//
 +==== Inserted Variables ====
 +**networkElement** – //NetworkElement// – The NetworkElement that the DiscoveredAlarm was found on.\\
 +**discoveredAlarm** – //DiscoveredAlarm// – The DiscoveredAlarm in question.
 +===== 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** – //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.
 +===== Trap Knowledge Override =====
 +This script is unused.