有一个定期运行的进程,用于确认管理组中的所有警报订阅均正常配置,并且这些订阅的配置仍然有效。 如果发现一个或多个订阅的配置无效,则会自动禁用订阅,并且此规则将生成警报。
有一个定期运行的进程,用于确认管理组中的所有警报订阅均正常配置,并且这些订阅的配置仍然有效。 如果发现一个或多个订阅的配置无效,则会自动禁用订阅,并且此规则将生成警报。
用于创建已禁用的订阅的帐户遇到以下更改之一:
帐户已被禁用或完全删除。
帐户的用户角色成员资格在管理组中已更改,或帐户作为其成员的用户角色的作用域以某种方式发生变化,导致用户对于订阅适用于的某些对象不再拥有权限。
从警报描述中复制订阅的内部名称。
使用操作控制台或 Export-ManagementPack cmdlet,将名为“通知内部库”的管理包导出到未密封的 XML 文件。
使用所选的编辑器打开该未密封的 XML 文件,并搜索其“ID”与之前复制的订阅内部名称相同的规则。
在规则的配置中,查找用于“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>