Versions Compared

Key

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

Private_Edition_flag.pngImage Added

Overview

The Supervision Service uses decision tables, where you can define different actions to be taken depending on which conditions are met; log in System Log, use an overload protection configuration, or generate an event. You can use any MIMs available in the workflow for configuration of conditions, e.g. throughput, queue size, etc.

...

The Supervision Service is available for real-time workflows and can be configured in the Services tab in the Workflow Properties dialog. The supervision service with action overload can also be manually triggered with mzsh mzcli commands, in case it is needed for maintenance or other purposes. If the service is manually triggered, it has to be reverted to automatic mode for the settings in the Services tab to take effect once again.

...

In this dialogue, you configure your decision table. In a decision table, you determine which action to take depending on which conditions are met. These conditions and actions are configured in separate lists and will then be available for selection in the decision table configuration.

Setting

Description

Decision Table

Enter a name for your decision table in the Name field.

Table Parameters

Click the buttons Action Lists and Conditions Lists to configure the different conditions and actions for this table.

Decisions

Each configured condition list will be displayed in the Conditions column. Each of these conditions can be set to either TrueFalse or -. If you want to add more columns to set up different combinations of conditions, you can right-click the Action column heading and select to add more columns. For each column with a condition combination, you can then select which action to take in the drop-down list containing all configured actions.

Configure your decision tables by following these steps:

...

  1. Select if you want to match all conditions in the list, or if you want to match one of the conditions in the list.

  2. Give the list a name and click the Add button to add the condition list in the Create Decision Tables dialog.

  3. Repeat steps 3 to 10 until you have created all the condition lists you want to have and then click Close when you are finished. You will return to the Create Decision Tables dialog.

Configure actions

To configure actions:

  1. In the Add Decision Tables dialog, click the Action Lists button.

  2. Click the Add button to open the Add Actions dialog.

  3. Click the Add button to add actions.

    add_action.png

     

...

  1. If you have selected an Overload Protection action:

    • Enter a description in the Description field.

    • Select the percentage of messages you want to reject; 0, 25, 50, or 100 % in the Reject drop-down list.

    • In the Strategy drop-down list, you select if you want the action to be applied for all requests, or only for requests following any of the Diameter overload protection strategies.

  2. If you have selected a Supervision Event action:

    • Enter a description in the Description field.

    • Enter the event content in the Content field. This content can then be used when configuring Event Notifications for this event.

  3. If you have selected a System Log action:

    • Enter a description in the Description field.

    • Select severity in the Severity drop-down list.

    • Enter an optional message in the Message field.

  4. Click Add to add the action to the action list.

  5. Repeat steps 4 to 8 until you have added all the actions you want to have in the action list and then click Close when you are finished.
    You will return to the Add Actions dialog.

Setting

Description

List

Enter a name for the action list in the Name field.

Action

This section contains all the actions you have added to this list.

  1. Give the list a name and click the Add button to add the action list in the Create Decision Tables dialog. 

  2. Repeat steps 3 to 10 until you have created all the action lists you want to have and then click Close when you are finished.

    You will return to the Create Decision Tables dialog.

...

Configuring a Decision Table

In the Decision Table tab you will now have two columns; Conditions and Actions.

...

 The Conditions column contains all the condition lists you have created, and in the Actions column, you can set a condition to either True (true), False (false), or - (Ignore), and then select which action you want to trigger when the settings in the decision table match.

Depending on how many conditions you have configured, there may be many different combinations that you may want to configure different actions for. To add another column, right-click the Action column heading and select the option Add Column.... A new column will then be added. This can be repeated for all the different combinations you want to have.

Note!

Only one action can be selected for each set of combinations.

Info

Example - Decision Table

Image Modified

The following actions will be taken during the following conditions:

Case 1 
If the Incoming messages exceed 50, a Supervision Event will be triggered.

Case 2 
If the Incoming messages exceed 100, 25 % of the incoming Diameter Credit-Control Initial requests will be rejected.

Case 3 
If the Incoming messages exceed 150, 100 % of the incoming Diameter Credit-Control Initial requests will be rejected.

mzcli Commands

If you need to manually trigger or clear the supervision service with action overload, for example, for maintenance or other purposes, you can use the mzsh mzcli wfcommand. See the wfcommand (3.3) for more information.