Microsoft KB Archive/883338

= SNMP responses and command responses are not suppressed when you use the &quot;Suppress duplicate alerts&quot; option in Microsoft Operations Manager 2000 with Service Pack 1 =

Article ID: 883338

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-





SYMPTOMS
In Microsoft Operations Manager (MOM) 2000 with Service Pack 1 (SP1), when you use the Suppress duplicate alerts option in the properties of an event processing rule, you suppress e-mail notification responses that are triggered by an alert. You can also suppress script response actions. However, you cannot configure other response actions not to run. These response actions include Send an SNMP trap and Execute a command or batch file.

For example, suppose you create an event processing rule. Then, you turn on Suppress duplicate alerts. You specify Send an SNMP trap as the response action. When multiple alerts occur, the duplicate alerts are suppressed, and only one alert is reported. However, a Simple Network Management Protocol (SNMP) trap is sent for each suppressed alert.



WORKAROUND
To work around this problem, modify your existing rule or create a new rule to start a script instead of triggering an SNMP response or a command response. You can configure the new script to run only after the alert is suppressed. The new script creates an internally generated event that triggers the response.

Note Because MOM only suppresses alerts on the server, this workaround is only available for server-side responses.

To work around this problem, follow these steps:  Start the MOM Administrator console. In the console tree, double-click Rules, double-click Processing Rule Groups, and then double-click Advanced. Right-click Scripts, and then click Create New Script. Type a name and a description for the new script, click Next two times, and then click Finish. Double-click the new script that you created, and then click the Script tab.  Type the following script, and then click OK: set objEvent = ScriptContext.CreateEvent

ScriptContext.Submit(objEvent) </li> In the MOM Administrator console, expand the processing rule group where you want to create a new event processing rule.</li> Right-click Event Processing Rules, point to New, and then click Event Processing Rule.</li> Click Alert on or Respond to Event (Event), and then click Next.</li> In the Provide name list, click Script-generated data, and then click Next.</li> Click from source, type the name of the script that you created in step 3 through 6, and then click Next three times.</li> In the Responses window, click Add, and then click Send an SNMP trap.</li> Specify where the SNMP trap is generated, click OK, and then click Next.</li> Click Next again, type a name for the processing rule, and then click Finish.</li> Modify the rule that generates the SNMP response to start the new script instead.</li></ol>

Because the rule now uses a script to generate an SNMP trap response, only one SNMP trap is sent when Suppress duplicate alerts is turned on.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: Supress supression suppression

Keywords: kbopmanrules kbopmaneventmgmt kbopmanalerts kbtshoot kbevent kbusage kbperformance KB883338

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.