Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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 /wiki/spaces/MD82/pages/3781270.

Field/OptionDescription
Alarm Detection EnabledSelect this checkbox to turn on alarm detection.
DescriptionEnter 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:

  • Indeterminate
  • Warning
  • Minor
  • Major
  • Critical 

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:

  • Host Statistic Value
  • Pico Instance Statistic Value
  • System Event

  • Unreachable Execution Context
  • Workflow Alarm Value

  • Workflow Execution Time

  • Workflow Group Execution Time

  • Workflow Throughput


Host Statistic Value

The Host Statistic Value condition enables you to setup an Alarm Detection for the various statistic values by host.

The Host Statistic Value condition

ItemDescription
Event Properties

Host

Select a host for applying the alarm condition.

Statistic Value

The statistic criteria on host includes:

  • Processes Waiting For Run (#)
  • processes In Sleep (#)
  • Processes Swapped Out (#)
  • Swapped In From Disk (blocks/s)
  • Swapped To Disk (blocks/s)
  • Context Switches (/s)
  • CPU User Time (%)
  • CPU System Time (%)

Limits

Specify the condition for the alarm to be triggered. The options are Exceeds or Falls Below the selected statistic value.
Enable "During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

Pico Instance Statistic Value

The Pico Instance Statistic Value condition enables you to setup an Alarm Detection for the various statistic values by pico instances.

The Pico Instance Statistic Value condition

ItemDescription
Event Properties

Pico Instance

Select a Pico instance for configure alarm, it can be Platform, EC

Statistic Value

The statistic criteria on Pico instance includes:

  • Used Memory (Kb)
  • Garbage Collection Count (#)
  • Garbage Collection Time (ms)
  • Thread Count (#)
  • Open files count (#)
  • CPU usage time (%)

Limits

Specify the condition for the alarm to be triggered. The options are Exceeds or Falls Below the selected statistic value.
Enable "During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

System Event

The System Event condition enables you to setup an Alarm Detection for the various Event types.

The System Event condition

ItemDescription
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

Note!

The parameters in the following example do not apply to any specific system and are only presented here to enhance understanding of the alarm condition.


  1. Configure an Alarm Detection that applies the System Event condition.

    Configure an Alarm Detection


  2. On the Edit Alarm Condition dialog box, from the Event Type drop-down list, select Workflow State Event.
     

  3. On the Filter table double-click workflowName; the Edit Match Value dialog box opens.
     

  4. Click Add to browse and look for the specific workflow.
     

  5. 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.

Unreachable Execution Context

The Unreachable Execution Context condition enables you to setup an Alarm Detection base on selected Pico Instance, except platform.

The Unreachable Execution Context condition

ItemDescription
Event Properties

Pico Instance

Select a Pico instance for configure alarm, it can be Platform, EC

Unreachable due to normal shutdown

Unchecked this checkbox to ignore the pico unreachable due to shutdown by purpose.

Limits

Enable "During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

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:

  1. Create a variable. 

  2. Assign the variable with a value.

  3. Setup the Workflow Alarm Value condition.

To create a variable name:

  1. From the Edit menu in the Alarm Detection configuration menu, select Workflow Alarm Value Names. The Workflow Alarm Value dialog box opens.

  2. Click the Add button and enter a variable name, e g CountBillingFiles. 

  3. 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:

  1.   At the bottom of the Alarm Detection configuration, click  Add ; the Add Alarm Condition dialog box opens.
  2.   From the Alarm Condition drop-down list select  Workflow Alarm Value .
  3.   From the Value  drop-down list, select the name of the variable that you created.
  4.   Click  Browse... to select the Workflow that the Alarm Detection should guard.
  5.   Configure the Limits according to the description of The Workflow Alarm Value and click  OK .

The Workflow Alarm Value configuration

ItemDescription
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 dispatchAlarmValue variable (countBillingFiles in the figure above, The Workflow Alarm Value configuration) whenever it is invoked. Alarm Detector compares this total value with the alarm limit (exceeds or falls below), and generates an alarm message accordingly.

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.

For further information about Limits see the section above, Host Statistic Value.

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

ItemDescription
WorkflowThe 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

Note!

The parameters in the following example do not apply to any specific system and are only presented here to enhance understanding of the alarm 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.

  1. Configure an Alarm Detection to use the Workflow Execution Time condition.

    Configure an Alarm Detection

  2. Click Browse...; the Workflow Instance Selection dialog box opens.

  3. At the bottom of the dialog box click Any or select the workflow specific for this alarm.

    1. 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

ItemDescription

Workflow Group

Click Browse... to enter the address of the workflow group to which you want to apply the alarm.


Example - Configuring a Workflow Group Execution Time condition

Note!

The parameters in the following example do not apply to any specific system and are only presented here to enhance understanding of the alarm condition.

You want the system to generate an alarm if a billing workflow group has been active longer than 3 hours.

  1. Configure an Alarm Detection that uses the Workflow Group Execution Time condition.

    Configure an Alarm Detection
  2. On the Edit Alarm Condition dialog box click Browse... to enter the workflow group you want the alarm detection to supervise.

    Configure the Alarm Condition
  3. Enter a limit of Exceeds 3 hours.

The alarm will be triggered if the workflow group has been active longer than 3 hours.

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

ItemDescription

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

For information about Limits see the section above, Host Statistic Value.

Example - Configuring a Workflow Throughput condition

Note!

The parameters in the following example do not apply to any specific system and are only presented here to enhance understanding of the alarm condition.

You want the system to warn you on detection of decreased processing rate.

  1. Configure an Alarm Detection to use the workflow throughput condition.

    Configure an Alarm Detection

  2. On the Edit Alarm Condition dialog box click Browse... to select the workflow with the processing rate that you want to supervise.

  3. Enter a limit of Falls Below 50000 (batches, UDRs, Bytearray).

    Configure an Alarm Condition

The alarm will be triggered by every occurrence of a workflow slowing down its processing rate to a throughput that is lower than 50000 units per second.

  • No labels