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.
...
Configure conditions. The conditions you configure are based on different MIM parameters having defined values.
Configure actions. When configuring the actions, you can select to have a Supervision event generated, to reject messages, or to log an entry in the System Log. Rejection can be made on all messages or on a certain percentage; 0, 25, 50, or 100 %.
Tip title Hint! If you are using Diameter or Radius agents in your workflow, you can also select from a range of Diameter and Radius specific overload protection strategies in order to only reject specific types of messages. See /wiki/spaces/DRXXE/pages/6196038 and /wiki/spaces/DRXXE/pages/6196401 for further information about these strategies.
Create the decision table, i e set the conditions to either True , False or - (which means ignore) and select which action to take.
Set a name.
Click Add and repeat steps 1 to 4 for all the decision tables you want to create.
Note title Note! When a condition is evaluated to true, the corresponding action will be performed only once, until any other condition is also evaluated to true. Generally, this means that a minimum of two conditions is required in the decision table.
Configure conditions
To configure conditions:
Add Condition
...
In the Add Decision Tables dialog, click the Condition Lists button.
Click the Add button to open the Add Conditions dialog.
Click the Add button to add conditions.
In this dialog, select a MIM value for the left operand.
Select an operator.
Enter a constant, or select a MIM value, for the right operand.
Click Add to add the condition to the condition list.
Repeat steps 4 to 7 until you have added all the conditions you want to have in the condition list and then click Close when you are finished.
You will return to the Add Conditions dialog.
Add Conditions
Item
Description
List
Enter a name for the condition list in the Name field.
Match Select if you want all the conditions in the list to be matched or if only one condition is required to match by selecting either of the buttons Any of the Following or All of the Following.
Conditions This section contains all the different conditions you have added to the list. Select if you want to match all conditions in the list, or if you want to match one of the conditions in the list.
- Give the list a name and click the Add button to add the condition list in the Create Decision Tables dialog.
- 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:
In the Add Decision Tables dialog, click the Action Lists button.
Click the Add button to open the Add Actions dialog.
Click the Add button to add actions.
Add Action
Item
Description
Action In this drop-down list, you select if you want an entry to be logged in the System Log, or if you want an Overload Protection configuration to be configured, or if you want to generate a Supervision Event that can be sent to various targets depending on how you configure your Event Notifications.
Note title Note! The Overload Protection option is only available if you have Diameter or Radius agents in your workflow.
Description Enter a description for this action.
Reject This option is only available when you have selected to configure an Overload Protection action and determines the percentage of requests that should be rejected; 0, 25, 50, or 100 %. Strategy This option is only available when you have selected to configure an Overload Protection action and determines if you want to apply this action on all types of requests or if you only want to apply them to the requests following a selected Diameter or Radius overload protection strategy.
Content This option is only available when you have selected to configure a Supervision Event action and determines the content of the event. See Event Types(3.0) for more information. Severity This option is only available when you have selected to configure a System Log action and determines the severity of the log entry; Information, Warning, Error, or Disaster. Message This option is only available when you have selected to configure a System Log action and allows you to enter a message that will be visible in the System Log. In this dialog, select which type of action you want to use; System Log, Overload Protection, or Supervision Event. Depending on what you choose, the options in the dialog differ.
- 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.
- 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.
- 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.
- Click Add to add the action to the action list.
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.Add actions
Item
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.
Give the list a name and click the Add button to add the action list in the Create Decision Tables dialog.
- 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.
...