Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

scrollbar

Contents

Table of Contents

...

Currently these tasks can only be scheduled using the "Upload task(s) from file" functionality in the Admin interface. The uploaded XML configuratio should conform to the taskList.xsd schema. For examples see below. The Alarmmodule alert part is defined in the referenced mcSystemAlerter.xsd schema.

Configuration

The following documents play a role in the generation of alerts.

  • ModuleConfigFiels\<secondaryValidation>.xml
    Contains the secondary validation rules that will generate logEventCodes that become visible in the logging when rules are exceeded. File name is free to choose, secondaryValidation refers to the xsd that is used.
  • RegionConfigFiles\ all three threshold configuration files. See also the wiki page on this: 09 Thresholds
    • RegionConfigFiles\Thresholds.xml
      Defines the level for each threshold with <levelThreshold>. These thresholds can be used to change colors and the use of Flags in the Displays
    • RegionConfigFiles\TresholdValueSets.xml
      Links timeSeriesSets to <thresholdValueSets>
    • RegionConfigFiles\TresholdWarningLevels.xml
      Can be used to define the overlays and colors used when <thresholdWarningLevels> are exceeded, both up and down..
  • DisplayConfigFiles\<scadaDisplay>.xml
    Defines the scada display in which alerts can be used by means of <shapeComponentBehaviourDefinition>. File name is free to choose, scadaDisplay refers to the xsd that is used.

From logging to Alarmmodule

Van logmelding naar alarmmodule

De werking van deze functionaliteit is als volgt:

  • De alarmen module instance controleert alle opgegeven tijdreeksen en logged een alarm in de FEWS logging tabel. Op de FSS logging is het volgende zichtbaar:

Image Added

 

  • Als je in de FEWS Admin Interface de pagina “System Status”en vervolgens “View Logs” opent kan je dezelfde logging informatie vinden.

Image Added

 

  • Ook in de FEWS OC System Monitor komen deze log meldingen door.

Image Added

In de FEWS Admin Interface en in de FEWS OC System Monitor is te zien dat alle alarm log meldingen een Event code hebben die begint met “IWP.”. Nu is in de Admin Interface een actie geconfigureerd die uitgevoerd wordt wanneer er log meldingen met “IWP.” gelogged worden. Deze configuratie bestaat uit drie onderdelen:

  1. Een Event and Action Configuration
  2. Een Event Action Mapping
  3. Een Geschedulde Workflow
  • In de Event and Action configuration moet een Action ID opgezet worden

Image Added

Achter de action ID “Alarmmodule.alarm” hangt het volgende configuratie bestand.

Code Block
<?xml version="1.0" encoding="UTF-8" ?>
<actionxml type="task">
<oneoff>
<cardinaltime interval="60" reference="2004-01-01T00:00:00.000+00:00" />
<tag name="ALARM_MODULE" />
  </oneoff>
</actionxml>

 

Dit betekent dat er een eenmalige actie “Alarmmodule.alarm” zal worden uitgevoerd. Deze actie genereert een TAG “ALARM_MODULE”, die niet vaker dan 1 keer per 60 seconden mag worden gedraaid. Deze tijd kunnen we ook op 10 minuten of langer zetten. Dat betekend dat momenteel de log meldingen niet vaker dan 1 keer per minuut naar de Alarm module gestuurd worden.

 

  • In de Event Action Mappings moet de door een FEWS FSS gegenereerde log event code gekoppeld worden aan een Action ID.

Image Added

Dit betekent dat wanneer er een log melding “IWP.*” voorbij komt de actie “Alarmmodule.alarm” zal worden uitgevoerd. Door het gebruik van de “*” hoef je niet alle individuele Event codes op te geven.

 

  • In de Scheduled Tasks geef je op dat de Systeem workflow “MC_SystemAlerter” moet draaien wanneer de TAG “ALARM_MODULE” gegenereerd wordt.

Image Added

De eigenschappen van deze geschedulde taak zijn als volgt:

Schedule fixed alert

In the fixed alert scenario, the alert is entered as part of the taskproperties of the scheduled MC_SystemAlerter task. This can be used to send regular or one-off alerts and will probably mostly be used for testing purposes.

...