應用程式成功率警示監視

Microsoft.SystemCenter2012.ConfigurationManager.SWDAPPSuccessMonitor (UnitMonitor)

此監視會將 Configuration Manager 應用程式成功率警示轉寄到 Operations Manager。

Knowledge Base article:

摘要

此監視會檢查應用程式部署的成功率。 當指定之應用程式的成功率低於閾值 (在 Configuration Manager 主控台中設定) 時,它就會產生警示。

若要檢查選取的閾值,請開啟 Configuration Manager 主控台,找到對應的應用程式,然後檢查其部署狀態。

原因

解決方式

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.AlertSWDAPPSuceessBelowThreshold
Parent MonitorSystem.Health.ConfigurationState
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter2012.ConfigurationManager.AlertStateMonitor
RemotableTrue
AccessibilityPublic
Alert Message
應用程式成功率警示
應用程式的成功率低於選取的閾值。 請查看 Configuration Manager 主控台以取得詳細資料。
RunAsDefault
CommentSIV:SWD0011

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.SWDAPPSuccessMonitor" Comment="SIV:SWD0011" Accessibility="Public" Enabled="false" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.AlertSWDAPPSuceessBelowThreshold" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter2012.ConfigurationManager.AlertStateMonitor" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.SWDAPPSuccessMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdcbbad4378cab49a9b7b79a7cc465f3e5" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdbdbe269a56054b868e73aabdfc5f1800" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId9192c9665a964941b6cfeb6331313d96" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<TypeId>$Target/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.AlertBaseClass"]/TypeId$</TypeId>
<TypeInstanceId>$Target/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.AlertBaseClass"]/TypeInstanceId$</TypeInstanceId>
<IntervalSeconds>900</IntervalSeconds>
<ProviderLocation>$Target/Host/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SiteServer"]/ProviderLocation$</ProviderLocation>
<SiteCode>$Target/Host/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.Server"]/SiteCode$</SiteCode>
</Configuration>
</UnitMonitor>