An Alarm Detection configuration enables you to define criteria for the generation of alarm messages. You select a condition, or combine a set of conditions, that within specific limits, generate an alarm message. To monitor the system alarms, you use the Usage Engine web interface. You can send alarm messages to SNMP monitoring systems, as well.
Alarm Detection Buttons
The contents of the button panel may change depending on which configuration type has been opened in the currently displayed tab. Alarm Detection uses the standard buttons that are visible for all configurations.
There is one button that is specific for Alarm Detection.
Button | Description |
---|---|
Workflow Alarm Value Names | To define a variable to use in the APL code, see the APL Reference Guide(4.0) , and the section below, Workflow Alarm Value for further information. |
Defining an Alarm Detection
An Alarm Detection definition is made up of:
A condition, or a set of conditions, see the section below, Alarm Conditions
An object such as host, pico instance, or workflow, that the alarm should supervise
The parameter that you want the alarm to supervise, for example, Statistics value
Time and value limits of supervision
To create a valid alarm detection configuration make sure that:
The Alarm Detection includes at least one condition.
Two conditions within an alarm guard the same object: host, pico instance, or workflow.
Two conditions are set to the same time interval criteria.
To define an alarm
Create an Alarm Detection configuration by clicking the Alarm Detection button from the Configuration menu.
Click on the Edit menu and select the Validate option to check if your configuration is valid.
Click on the Edit menu and select the Workflow Alarm Value Names option to define a variable you can use in the APL code, see APL Reference Guide(4.0), and in the Workflow Alarm condition, see the section below, Workflow Alarm Value.
Enter a statement that describes the Alarm Detection that you are defining in the Description field.
Select the importance priority that the alarm should have in the Severity drop-down list.
At the bottom of the Alarm Detection configuration, click the Add button.
The Add Alarm Condition dialog box opens.
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.
Item | Description |
---|---|
Event Properties | |
Host | Select a host for applying the alarm condition. |
Statistic Value | The statistic criteria on host includes:
|
Limits | Specify the condition for the alarm to be triggered. The options are Exceeds or Falls Below the selected statistic value. |
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.
Item | Description |
---|---|
Pico Instance | Select a Pico instance for configure alarm, it can be Platform, EC |
Statistic Value | The statistic criteria on Pico instance includes:
|
Limits | Specify the condition for the alarm to be triggered. The options are Exceeds or Falls Below the selected statistic value. |
System Event
The System Event condition enables you to set up an Alarm Detection for the various Event types.
Setting | Description |
---|---|
Type | Select an event-related reason for an alarm to be invoked. For a detailed description of every event type, see Event Types(4.0). |
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.
Configure an Alarm Detection that applies the System Event condition.
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.
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.
Item | Description |
---|---|
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:
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 Assign a value to the Value Name:
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 theValue 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.
Setting | Description |
---|---|
Value | Select an alarm value from the drop-down list. |
Workflow | Click Browse... to enter the workflow(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. For further information about Limits see the section above, https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/233285792#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.
Setting | 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
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.
Configure an Alarm Detection to use the Workflow Execution Time condition
Click Browse...; the Workflow Selection dialog box opens.
At the bottom of the dialog box click Any.
Set a limit of Falls below 2 seconds
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.
Setting | Description |
---|---|
Workflow Group | 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.
Configure an Alarm Detection that uses the Workflow Group Execution Time condition.
On the Edit Alarm Condition dialog box, enter the workflow group you want the alarm detection to supervise.
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.
Setting | Description |
---|---|
Workflow | Select a workflow with the throughput value, the processing speed, that you want to supervise. For further information about the throughput value calculation, see Throughput Calculation in Workflow Properties (4.0). 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.
Configure an Alarm Detection to use the workflow throughput condition
On the Edit Alarm Condition dialog box, select the workflow with the processing rate that you want to supervise.
Enter a limit of Falls Below 50000 (batches, UDRs, Bytearray).
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.
Activating an Alarm Detection
For a configured alarm detection to become active it needs to be activated using the Alarm Detection Enabled setting.
Activation mode is independent of the rest of the profile configuration and you do not need to press Save after enabling or disabling the alarm detection.
On Desktop Client
On the Desktop Client, this toggle button is greyed out if there are no alarms present. You can see this button only after an alarm detection is saved.
The toggle button for the alarm detection is available on top of the alarm configuration details.
On Desktop Online
The alarm detection enable/disable toggle button in the Desktop Online will allow you to enable or disable individual alarms using the toggle button available next to the name of the alarm. You can also enable or disable all available alarms at one go using the Enable All or Disable All buttons.
Note!
When importing an Alarm Detection configuration using system import or as part of workflow packages, the configuration is disabled.