NET/MASTER RMS Management and Operations Guide
Adding a Message Action Rule
Creating and Developing Rulesets and Rules
5–32 115415 NonStop NET/MASTER RMS Management and Operations Guide
only if the Deliver field has the value Y, L, or N. You specify the parameters for
message threshold processing on the RMS : Message Modification panel.
050
Threshold Maxcnt .... Interval .... Do Actions ....
Correlation Key .....
Specify the number of messages (message threshold) in the Maxcnt field and the time
interval in the Interval field.
The values, if specified, must conform to the following:
The value of Maxcnt must be in the range 1 through 999999.
The value of Interval must be in the range 00:00:00 through 23:59:59. You can omit
the 00 strings. For example, ::01 is the same as 00:00:01.
You must specify both values. You must also specify how RMS should handle the
rule actions when a message triggers the rule in the Do Actions field.
For example, if you expect a condition that results in a number of messages triggering
the rule within a 10-minute interval and you only want the first five messages
delivered, specify Y in the Deliver field, 5 in the Maxcnt field, and :10: in the Interval
field. Messages after the first five messages that fall within the interval are
suppressed. At the end of the 10-minute interval, the message handler resets the
threshold processing.
Controlling the Rule Actions During Message Threshold Processing. If you use message
threshold processing, you must specify how RMS should handle the rule actions (as
specified on the RMS : System Action panel). You specify this control in the Do
Actions field on the RMS : Message Modification panel using one of the following
values:
Value Description
BEFORE Performs the rule actions only for the number of valid messages specified in the
Maxcnt field (that is, before the message threshold is reached) within each time
interval.
AFTER Performs the rule actions only for the valid messages that arrive after the message
threshold is reached within each time interval.
ALWAYS Performs the rule actions for each valid message as if the message threshold does not
exist.
For example, if Maxcnt is 5 and Interval is :10:, then within the 10-minute interval
when message threshold processing is active:
BEFORE instructs RMS to perform the action rules for the first five messages only.
AFTER instructs RMS to perform the action rules for the sixth message onward
only.
ALWAYS instructs RMS to perform the action rules for each message.