Unhealthy data source for protected computer

Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.UnHealthyExpressionForPS (DataSourceModuleType)

Unhealthy data source for protected computer.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeMicrosoft.Windows.EventData

Member Modules:

ID Module Type TypeId RunAs 
UnhealthyEventProvider DataSource Microsoft.Windows.EventProvider Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ErrorCodeint$Config/ErrorCode$Error codeError code
DetailedErrorCodestring$Config/DetailedErrorCode$Detailed error codeDetailed error code

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.UnHealthyExpressionForPS" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="ErrorCode" type="xsd:integer"/>
<xsd:element minOccurs="1" name="DetailedErrorCode" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ErrorCode" Selector="$Config/ErrorCode$" ParameterType="int"/>
<OverrideableParameter ID="DetailedErrorCode" Selector="$Config/DetailedErrorCode$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="UnhealthyEventProvider" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DPM Alerts</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">$Config/ErrorCode$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DPM-EM</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[14]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="SCDPM!Microsoft.SystemCenter.DataProtectionManager.2011.Library.ProductionServer"]/ComputerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="SCDPM!Microsoft.SystemCenter.DataProtectionManager.2011.Library.DPMServer"]/DPMServerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[13]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/DetailedErrorCode$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</MemberModules>
<Composition>
<Node ID="UnhealthyEventProvider"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Windows!Microsoft.Windows.EventData</OutputType>
</DataSourceModuleType>