驗證警示訂閱

Microsoft.SystemCenter.ValidateAlertSubscription.Rule (Rule)

Knowledge Base article:

摘要

由於超載的資源導致通知認可花費較預期為長的時間,因此通知的產生會延遲

原因

通知伺服器變慢且無法跟上引發警示之相關通知產生的速度。 透過通道的通知傳送認可也會變慢。 這可能是下列原因所導致:

1. 大量警示 - 產生通知伺服器無法在合理時間內處理的過多警示。

2. 操作資料庫超載且造成整體系統速度變慢。

解決方式

1. 檢查警示檢視中是否有新建立的警示。 如果產生太多警示,請找出警示的根本原因並解決此問題。

2. 如果無法停止警示,請在監視上停用警示產生功能,直到警示的速度獲得控制為止

3. 如果所有通知都是關於同一警示,請找出導致通知的訂閱並將其停用。 通知背後的訂閱之訂閱識別碼通常可以在通知訊息本文中找到。

4. 操作資料庫或主控此資料庫的電腦可能超載。 請使用操作資料庫診斷步驟確認是否能解決這些問題。

Element properties:

TargetMicrosoft.SystemCenter.AlertNotificationSubscriptionServer
CategoryDiscovery
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.ValidateSubscribedAlertProvider Default
WA WriteAction System.CommandExecuter Default

Source Code:

<Rule ID="Microsoft.SystemCenter.ValidateAlertSubscription.Rule" Enabled="true" Target="Microsoft.SystemCenter.AlertNotificationSubscriptionServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Discovery</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemCenter!Microsoft.SystemCenter.ValidateSubscribedAlertProvider">
<PollingIntervalMinutes>30</PollingIntervalMinutes>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine/>
<TimeoutSeconds>100</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</WriteActions>
</Rule>