How can I know if the number of items being executed by a server exceeds a specified threshold?

IBM® Sterling Control Center Monitor can generate events when queues on monitored Sterling B2B Integrator or Sterling Connect:Direct® servers exceed, or return to, thresholds you set.

For monitored Sterling B2B Integrator servers, IBM Sterling Control Center Monitor can generate events for thresholds on the business process execution queues (Q0-Q9). For monitored Sterling Connect:Direct servers, IBM Sterling Control Center Monitor can generate events for thresholds on the transmission control queues (EXEC, HOLD, TIMER, and WAIT). The Queue Limits tab of the Server Properties dialog is used to set the thresholds for these queues.
There are two events that may be generated when queues are monitored by IBM Sterling Control Center Monitor:
CCNS020E Monitored Queue Limit has been exceeded.  Server ID: {0}  Queue: {1}  
Limit: {2}  Depth: {3}
CCNS030I Monitored Queue Limit back in compliance.  Server ID: {0}  Queue: {1}  
Limit: {2}  Depth: {3}
You can create a rule to watch for either of these events or a single linked rule that watches for both. The following example illustrates how to construct a rule that alerts you when a queue threshold exceeds your specified limit for more than 5 minutes.
  1. Build a rule that monitors for the message that IBM Sterling Control Center Monitor generates when a queue limit has been exceeded.
  2. Specify the following parameters.
    Key Operator Value
    Message ID Matches CCNS020E
    You can specify additional parameters to limit when this rule is triggered.
  3. Select the No Operation action. This action will not generate an alert when the queue threshold is first discovered to have been exceeded. You want to generate an alert only after it has been exceeded for more than 5 minutes.
  4. On the Linked Rules wizard, select Enabled.
  5. Specify the following parameters for the linked rule:
    Key Operator Value
    Message ID Matches CCNS030I
    This event is generated by the IBM Sterling Control Center Monitor engine when it finds that a monitored queue’s threshold has returned to the threshold specified. You can also specify other parameters to refine the criteria under which CCNS030I events are matched by the linked part of the rule.
  6. Because you selected No Operation for the initial action, select No Operation for the Resolution action. As a result, no action will be taken if the monitored queue returns to, or below, the specified threshold.
  7. Set the timeout value to 5 minutes. This is the amount of time the IBM Sterling Control Center Monitor engine must wait before taking either the Resolution or Non-Resolution action.