處理程序會定期執行以確認管理群組中的所有警示訂閱皆已正確設定且其設定仍然有效。如果發現一個或多個訂閱內含無效的設定,則會自動停用訂閱,且此規則將會產生警示。
處理程序會定期執行以確認管理群組中的所有警示訂閱皆已正確設定且其設定仍然有效。如果發現一個或多個訂閱內含無效的設定,則會自動停用訂閱,且此規則將會產生警示。
用於建立訂閱的帳戶 (已停用) 發生下列其中一項變更:
帳戶已停用或已完全刪除。
帳戶的使用者角色成員資格在管理群組中已變更,或帳戶為其成員的使用者角色範圍已變更,使得使用者不再擁有存取某些訂閱適用之物件的權限。
從警示描述複製訂閱的內部名稱。
使用 Operations 主控台或 Export-ManagementPack Cmdlet,將名為「通知內部程式庫」的管理組件匯出至未密封的 XML 檔案。
使用所選的編輯器開啟未密封的 XML 檔案,並搜尋與先前複製之訂閱的內部名稱識別碼相同的規則。
在規則的設定中,尋找 "UserSid" 使用的值。這是建立訂閱的帳戶安全性識別碼,目前不存在於 Active Directory 中,或帳戶已停用。複製這個 SID。
使用其他使用者帳戶的安全性識別碼取代此 SID。此帳戶必須存在於 Active Directory 中,它必須未被停用且必須是管理群組中「Operations Manager 系統管理員」使用者群組的成員。
可考慮搜尋整個檔案以找出是否有任參考指向無效帳戶的 SID,並使用新使用者帳戶的 SID 來取代。
將變更儲存到未密封的 XML 檔案,並將管理組件匯回到管理群組。
Target | Microsoft.SystemCenter.AllManagementServersPool | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 11452 | ||
Event Source | Health Service Modules | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
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.UserSubscriptionDisabledWhenCreatorsAccountNotActive" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>.</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">11452</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.2007.UserSubscriptionDisabledWhenCreatorsAccountNotActive.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[5]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[5]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>