Zasada generująca alert, jeśli nie jest zarejestrowana główna nazwa usługi (SPN) dla konta, na którym działa usługa System Center Data Access.
Nazwa główna (SPN) usługi „System Center Data Access” mogła nie zostać zarejestrowana. W celu uwierzytelniania za pomocą protokołu Kerberos usługa „System Center Data Access” musi zarejestrować nazwy SPN konsoli Operacje i innych klientów SDK.
W większości przypadków przyczyną jest fakt, że usługa „System Center Data Access” nie ma wystarczających uprawnień do rejestracji nazw SPN w usłudze Active Directory.
Sprawdź istniejące rejestracje nazw SPN, uruchamiając następujące polecenie:
Setspn.exe -L <MS NetBIOS Name>
Jeśli nazwy SPN zostały prawidłowo zarejestrowane, powinny być widoczne następujące wyniki:
MSOMSdkSvc/<MS NetBIOS Name>
MSOMSdkSvc/<MS FQDN>
Jeśli nazwy SPN nie zostały prawidłowo zarejestrowane, zarejestruj je ręcznie, uruchamiając następujące polecenia z poziomu konta mającego uprawnienia administratora domeny:
Setspn.exe -A MSOMSdkSvc/<MS NetBIOS Name> <MS NetBIOS Name>
Setspn.exe -A MSOMSdkSvc/<MS FQDN> <MS NetBIOS Name>
Target | Microsoft.SystemCenter.CollectionManagementServer | ||
Category | Alert | ||
Enabled | False | ||
Event_ID | 26371 | ||
Event Source | OpsMgr SDK Service | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.2007.SdkSpnRegistration" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.CollectionManagementServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</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="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">26371</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr SDK Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.2007.SdkSpnRegistration.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>