Sprawdzanie wygaśnięcia certyfikatu służącego do uwierzytelniania

Microsoft.SystemCenter.HealthService.CommunicationCertificateExpirationCheck (UnitMonitor)

Ten monitor sprawdza stan certyfikatu służącego do uwierzytelniania i wysyła alert, jeśli ważność tego certyfikatu wkrótce wygaśnie.

Knowledge Base article:

Podsumowanie

Certyfikat służący do uwierzytelniania wkrótce wygaśnie. Certyfikat ten służy do uwierzytelniania tej usługi System Center Management Health w innych usługach System Center Management Health.

Jest to ten sam certyfikat, który został zaimportowany za pomocą narzędzia MOMCertImport.exe.

Po wygaśnięciu certyfikatu agent lub serwer zarządzania straci możliwość komunikacji z grupą zarządzania i wysyłania do niej raportów z danymi.

Przyczyny

Certyfikat wkrótce wygaśnie. Po jego wygaśnięciu usługa System Center Management Health nie będzie mogła zostać uwierzytelniona w innych usługach System Center Management Health.

Rozwiązania

Uzyskaj nowy certyfikat i zaimportuj go za pomocą narzędzia MOMCertImport.exe.

Dodatkowe informacje

Więcej informacji na temat importowania i wykorzystywania certyfikatów w programie Operations Manager zawiera temat Managing Certificates in Operations Manager (Zarządzanie certyfikatami w programie Operations Manager) (http://go.microsoft.com/fwlink/?LinkID=227146).

Więcej informacji na temat korzystania z programu CertGenWizard.exe — nieobjętego pomocą techniczną narzędzia do żądania wielu certyfikatów — zawiera artykuł w blogu Obtaining Certificates for Non-Domain Joined Agents Made Easy With Certificate Generation Wizard (Łatwe uzyskiwanie certyfikatów dla agentów niedołączonych do domeny dzięki kreatorowi generowania certyfikatów) (http://go.microsoft.com/fwlink/?LinkId=195439).

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Wygaśnięcie certyfikatu uwierzytelniania usługi System Center Management Health
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.HealthService.CommunicationCertificateExpirationCheck" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.HealthService.CommunicationCertificateExpirationCheck_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">21020</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Connector</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20053</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Connector</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>