远程证书的名称无法解析

Microsoft.SystemCenter.HealthService.RemoteCertificateUnresolvedName.Alert (Rule)

此规则在检测到远程证书中的公用名(CN)无法解析时将生成警报。

Knowledge Base article:

摘要

System Center 管理运行状况服务无法从远程证书中获取使用者或颁发者名称。

原因

连接器无法从远程证书中获取使用者或颁发者名称。 请参阅用于获取名称的算法的事件详细信息。

解决方法

确认证书是否有效。 使用 MOMCertImport 颁发新证书。 有关在 Operations Manager 2012 中获取和导入证书的信息,请参阅 Managing Certificates in Operations Manager(在 Operations Manager 中管理证书)(http://go.microsoft.com/fwlink/?LinkID=227146)

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryOperations
EnabledTrue
Event_ID20076
Event SourceOpsMgr Connector
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
远程证书的名称无法解析
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.HealthService.RemoteCertificateUnresolvedName.Alert" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Operations</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Connector</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20076</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.HealthService.RemoteCertificateUnresolvedName.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>