User Tools
Writing /app/www/public/data/meta/ems/alarm_auditor_configuration.meta failed
ems:alarm_auditor_configuration
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ems:alarm_auditor_configuration [2017/05/24 11:34] – created ejoy | ems:alarm_auditor_configuration [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Alarm Auditor Scripts ====== | ||
| + | Author: Eoin Joy\\ \\ | ||
| + | |||
| + | The Alarm Auditor scripts are used during the alarm sync process to compare the discovered alarms to the set of alarms we currently have in the system. | ||
| + | ===== Matches Method ===== | ||
| + | This script is used to compare a single DiscoveredAlarm against a single ActiveAlarm to determine if they match. Should this return true for any such DiscoveredAlarm, | ||
| + | ==== Return Value ==== | ||
| + | //Boolean// | ||
| + | ==== Inserted Variables ==== | ||
| + | **activeAlarm** – // | ||
| + | **discoveredAlarm** – // | ||
| + | ===== Is Discovered Alarm Disabled ===== | ||
| + | This script is used to determine if a given DiscoveredAlarm is contained in the list of Disabled Alarms discovered in the alarm severity sync process for this hub. If it finds a match for the Discovered Alarm, then the alarm is added to the list of found alarms that were disabled and is not going to create a new alarm. | ||
| + | ==== Return Value ==== | ||
| + | //Boolean// | ||
| + | ==== Inserted Variables ==== | ||
| + | **discoveredAlarm** – // | ||
| + | **disabledAlarms** – // | ||
| + | ===== Retrieve Local Alarm Text ===== | ||
| + | This script determines what the alarm text of an alarm that exists on the local system, but was not found in a sync will show as in the results screen, either immediately in the case of an on-demand sync, or in the alarm sync history. | ||
| + | ==== Return Value ==== | ||
| + | //String// | ||
| + | ==== Inserted Variables ==== | ||
| + | **activeAlarm** – // | ||