Versions Compared

Key

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

...

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.

Image Removedalarmdetection.pngImage Added

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/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:

  • Indeterminate

  • Warning

  • Minor

  • Major

  • Critical 

Adding an Alarm Condition

...

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

...

Item

Description

Event Properties

Host

Select a host for applying the alarm condition.

Statistic Value

The statistic statistical criteria on the host includesinclude:

  • Processes Waiting For Run (#)

  • processes In 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 "the During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

...

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

...

Item

Description

Event Properties

Pico Instance

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

Statistic Value

The statistic statistical criteria on the Pico instance includesinclude:

  • 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 the "During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

...

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

...

Info

Example - Configuring a System Event condition

Note
titleNote!

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.

    Image Modified

    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.

    Image Modified

    Select an Alarm Condition

The alarm will be triggered by every 4th fourth occurrence of a "Workflow State Event" during the last 24 hours.

...

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

...

The Unreachable Execution Context condition

Item

Description

Event Properties

Pico Instance

Select a Pico instance for configure configuring the 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 the "During Last" checkbox to further focus on the X duration of Minutes/ Hour. 

...

  1. Create a variable. 

  2. Assign the variable with a value.

  3. Setup Set up 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 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.

...

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

...

The Workflow Execution Time condition enables you to generate an alarm whenever the execution time of a particular, or all workflows, exceed exceeds or fall falls below the time limit that you specify.

...

Info

Example - Configuring a Workflow Execution Time condition

Note
titleNote!

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.

    Image Modified

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

...

Info

Example - Configuring a Workflow Group Execution Time condition

Note
titleNote!

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.

    Image Modified

    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.

    Image Modified

    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.

...

Info

Example - Configuring a Workflow Throughput condition

Note
titleNote!

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 about the detection of a decreased processing rate.

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

    Image Modified

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

    Image Modified

    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.

...