AEM: Module Creation Error

Microsoft.SystemCenter.CM.AEM.ModuleCreationError.Alert (Rule)

This rule generates alerts when one or more of the Agentless Exception Monitoring (AEM) modules cannot be created on this management server.

Knowledge Base article:

Summary

One of the components of AEM could not start. As a result, AEM will not be processing error reports.

Causes

The failure may have happened due to several reasons. Information about the failure is available in the associated Event and Alerts.

Resolutions

The description of the alert contains information on the problem encountered. Please check the associated event details and any other events that happened around the time of this failure to diagnose the problem.

To fix access issues, Client Monitoring Action Account's Run As account needs to be added to the AEMAgent group, given access to the database and also needs to be given access to the URL for listening to Vista error reports.

For the first part, execute 'AEM: Fix Permissions' task associated with Crash Listener entity on this Management Server. For the second part, use httpcfg.exe (http://msdn2.microsoft.com/en-us/library/aa364478.aspx) for configuration (like, httpcfg.exe set urlacl /u http://+:[portNumber]/ /a D:(A;;GX;;;[SID]) and GetSid.exe (http://support.microsoft.com/?kbid=926027) to get SID for the Client Monitoring Action Account.

Once these issues are fixed, either restart the System Center Management Health Service or re-enable Client Monitoring for this management server.

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
AEM: Module Creation Error
{0}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.CM.AEM.AlertModule Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.ModuleCreationError.Alert" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.CM.AEM.AlertModule">
<EventNumber>10901</EventNumber>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertMessageId>$MPElement[Name='Microsoft.SystemCenter.CM.AEM.ModuleCreationError.Alert.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>