User Tools

Site Tools


Writing /app/www/public/data/meta/ems/discovered_trap_configuration.meta failed
ems:discovered_trap_configuration

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

networkElementNetworkElement – The NetworkElement that the DiscoveredAlarm was found on.
discoveredAlarmDiscoveredAlarm – 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

networkElementNetworkElement – The NetworkElement that the DiscoveredAlarm was found on.
discoveredAlarmDiscoveredAlarm – The DiscoveredAlarm in question.
trapKnowledgeTrapKnowledge – The TrapKnowledge entry found by the Trap Knowledge script.

Trap Knowledge Override

This script is unused.

ems/discovered_trap_configuration.txt · Last modified: 2021/06/25 10:09 by 127.0.0.1