Alarm Detection Configuration
Configuring an Alarm Detection
Create an Alarm Detection configuration by clicking the New Configuration button in the upper left part of the Desktop window, and then selecting Alarm Detection from the menu.
The Alarm Detection
Select the Workflow Alarm Value Names option to define a variable you can use in the APL code, see the APL Reference Guide.
Field/Option | Description |
---|---|
Alarm Detection Enabled | Select this checkbox to turn on alarm detection. |
Description | Enter a statement that describes the Alarm Detection that you are defining. |
Severity | Select the importance priority of the alarm from the drop-down list. The available severities are:
|
Adding an Alarm Condition
At the bottom of the Alarm Detection configuration, click the Add button. The Add Alarm Condition dialog box opens.
The Add Alarm Condition
Select a condition in the Alarm Condition drop-down list.
Alarm Conditions
The Alarm conditions enable you to define specific situations or events for which you want the system to produce an alarm. You configure a condition to produce an alarm whenever a certain behavior occurs, within specific limits.
Note!
An alarm is generated only if ALL conditions in the Alarm Detection are met.
The Alarm condition limits are reset:
Â
Every time you restart the platform
Every time you save the alarm configuration
When you resolve the alarm
The Alarm Conditions that you can choose from are:
System Event
Workflow Alarm Value
Workflow Execution Time
Workflow Group Execution Time
Workflow Throughput
System Event
The System Event condition enables you to setup an Alarm Detection for the various Event types.
The System Event condition
Item | Description |
---|---|
Event Properties | |
Type | Select an event-related reason for an alarm to be invoked. For a detailed description of every event type, see Event Types. |
Filter | Use this table to define a filter of criteria for the alarm messages that you are interested in. To define an entry, double-click on the row. The Edit Match Value dialog box opens. Click the Add button to add a value. |
Limits | Specify the condition for the alarm to be triggered. The options are based on the number and frequency of occurrence of the event: Occurred Once, Occurred More Than, Occurred Less Than. In During Last, specify the time frame during which the Limits value should be compared. If a match is detected, an alarm is invoked. |
Example - Configuring a System Event condition
Configure an Alarm Detection that applies the System Event condition.
Configure an Alarm Detection
On the Edit Alarm Condition dialog box, from the Event Type drop-down list, select Workflow State Event.
ÂOn the Filter table double-click workflowName; the Edit Match Value dialog box opens.
ÂClick Add to browse and look for the specific workflow.
ÂEnter a limit of occurred more than 3 times during the last 24 hours.
Select an Alarm Condition
The alarm will be triggered by every 4th occurrence of a "Workflow State Event" during the last 24 hours.
Workflow Alarm Value
The Workflow Alarm Value condition is a customizable alarm condition. It enables you to have the Alarm Detection watch over a variable that you create and assign through the APL code. To apply the Workflow Alarm Condition use the following guidelines:
Create a variable.Â
Assign the variable with a value.
Setup the Workflow Alarm Value condition.
To create a variable name:
From the Edit menu in the Alarm Detection configuration menu, select Workflow Alarm Value Names. The Workflow Alarm Value dialog box opens.
Click the Add button and enter a variable name, e g CountBillingFiles.Â
Click OK and then close the Workflow Alarm Value dialog box.
To define the Value field:
In the APL code, include the command dispatchAlarmValue
. For example:
consume {
dispatchAlarmValue
("CountBillingFiles",1);
udrRoute(input);
}
To configure the Workflow Alarm Value Condition:
 At the bottom of the Alarm Detection configuration, click Add ; the Add Alarm Condition dialog box opens.
 From the Alarm Condition drop-down list select Workflow Alarm Value .
 From the Value  drop-down list, select the name of the variable that you created.
 Click Browse... to select the Workflow that the Alarm Detection should guard.
 Configure the Limits according to the description of The Workflow Alarm Value and click OK .
The Workflow Alarm Value configuration
Item | Description |
---|---|
Workflow Properties | |
Value | Select an alarm value from the drop-down list. |
Workflow | Click Browse... to enter the workflow instance(s) that you want to apply the alarm to. |
Limits | Summation: Select this check box to add up the Note: Selecting Summation means that the During Last entry refers to the time period during which a sum is added up. Once the set period has ended, that sum is compared with the limit value. For All Workflows: Select this check box to add up the values (see Summation above) of all the workflows that the alarm supervises. Alarm Detector compares this total value with the alarm limit (exceeds or falls below), and generates an alarm message accordingly. Note: This check box can only be selected when Workflow is set to Any. |
Workflow Execution Time
The Workflow Execution Time condition enables you to generate an alarm whenever the execution time of a particular, or all workflows, exceed or fall below the time limit that you specify.
The Workflow Execution Time configuration
Item | Description |
---|---|
Workflow | The default workflow value is Any . Use this value when you want to apply the condition to all the Workflows. Otherwise, click Browse to select a Workflow that you apply the condition to. |
Example - Configuring a Workflow Execution Time condition
A telecom provider wants the system to identify a workflow that has recently run out of input, and to generate an alarm that warns about a processing time that is too short.
Configure an Alarm Detection to use the Workflow Execution Time condition.
Configure an Alarm Detection
Click Browse...; the Workflow Instance Selection dialog box opens.
At the bottom of the dialog box click Any or select the workflow specific for this alarm.
Set a limit to generate an alarm if the workflow execution time Falls below 2 seconds.
Configure the Alarm Condition
An alarm is generated whenever an active workflow seems to process data too fast (in less than 2 seconds).
Workflow Group Execution Time
The Workflow Group Execution Time alarm condition enables you to generate an alarm whenever the execution time of a workflow group exceeds or falls below the time limit that you specify.
The Workflow Group Execution Time configuration
Item | Description |
---|---|
Workflow Group | Click Browse... to enter the address of the workflow group to which you want to apply the alarm. |
Workflow Throughput
The Workflow Throughput alarm condition enables you to create an alarm if the volume-per-time processing rate of a particular workflow exceeds, or falls below, the throughput limit that you specify.
The Workflow Throughput configuration
Item | Description |
---|---|
Workflow | Select a workflow with the throughput value, and the processing speed, that you want to supervise. For further information about the throughput value calculation, see Throughput Calculation in 3.1.8 Workflow Properties. An alarm is generated if the throughput value is not within the condition limits. |
Limits | Specify the condition for the alarm to be triggered. The options are Exceeds or Falls Below the selected statistic value. |