An alert that is generated by using managed code displays the property text name instead of the event information in Microsoft Operations Manager 2005 (885725)



The information in this article applies to:

  • Microsoft Operations Manager 2005

SYMPTOMS

An alert that is generated by using managed code might display the Microsoft Operations Manager (MOM) 2005 property text name instead of the identifying details from the event. For example, the alert that is generated by using managed code might display "$Source Name$" instead of the identifying details from the event.

CAUSE

This problem occurs because the property resource name is not translated to its corresponding ID when the response query is inserted in the MOM database. The managed code response user interface lets you specify the parameters that are passed to the managed code method. When you specify a MOM property, the MOM property text name is stored in the MOM database. Therefore, the property that the managed code response receives contains the text of the MOM property instead of the corresponding data.

WORKAROUND

To work around this problem, you must use the property ID when you create a managed code response. For example, use $05$ instead of $Source Name$ in your managed code response.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The following lists contain commonly-used MOM property text names and the corresponding parameter value.

Event parameters

Property NameParameter value
Event Number01
Full Event Number02
Event Type03
Message Dll04
Source Name05
Provider Name06
Provider Type30
Description (Message)07
Message Dll File Version08
Logging Computer09
Category10
Event Time11
Source Computer12
User Name13
User Domain Name26
Logging Domain14
Source Domain15
Repeat Count17
First Time18
Last Time19
Start Time20

Alert parameters

Property NameParameter value
Source (Culprit)50
Name62
Description63
Owner51
Severity52
ResolutionState53
AlertTime54
Computer55
Domain56
Alert Rule Group ID64
Custom Field157
Custom Field258
Custom Field359
Custom Field460
Custom Field561

Performance parameters

Property NameParameter value
Object21
Counter22
Instance23
Time24
Value25

Modification Type:MinorLast Reviewed:6/13/2005
Keywords:kbOpmanReporting kbOpmanEventMgmt kbOpmanAlerts kbOpman2005bug kbtshoot kbBug kbDatabase kbReport kbSchema kbEventLog kbEvent kbnofix KB885725 kbAudITPRO kbAudDeveloper