Troubleshooting
Problem
When you add an on-error action to a processing rule, an SLM action with the greater-than algorithm does not adhere to the configured settings. This behavior occurs even though the same SLM policy works before the addition of the on-error action.
Symptom
Review the count of the accepted and rejected messages.
For illustrative purposes, assume a constant stream of messages at one per second for cases 1 and 2. The SLM action has the following configuration:
- Interval length is 6 seconds
- Interval type is moving
- Algorithm is greater than
- Threshold type is count all
- Threshold level is 4
The difference between the two cases is whether the processing rule contains the on-error action. In case 2, all messages are counted by the on-error action as they are detected. Because all messages are counted and the length is larger than the level, all messages after the first 4 messages fail.
Based on the scenario, the calculation formula is: 1 > 4/6. Where 1 is the message rate/second, 4 is the threshold level, and 6 in the interval length.
The following table shows the 12 seconds for both cases.
| Time | Case 1: without on-error action | Case 2: with on-error action | ||
Pass or Fail | Count logic | Pass or Fail | Count logic | |
1 | Pass | 0 of 4 in 6 seconds | Pass | 0 of 4 in 6 seconds |
2 | Pass | 1 of 4 in 6 seconds | Pass | 1 of 4 in 6 seconds |
3 | Pass | 2 of 4 in 6 seconds | Pass | 2 of 4 in 6 seconds |
4 | Pass | 3 of 4 in 6 seconds | Pass | 3 of 4 in 6 seconds |
5 | Fail | 4 of 4 in 6 seconds | Fail | 4 of 4 in 6 seconds |
6 | Fail | 4 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
7 | Pass | 3 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
8 | Pass | 3 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
9 | Pass | 3 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
10 | Pass | 3 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
11 | Fail | 4 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
12 | Fail | 4 of 4 in 6 seconds | Fail | 5 of 4 in 6 seconds |
[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;5.0.0;6.0.0;6.0.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21633353