ConfigMgr 2012 Client Failed Applications Deployments Monitor

ConfigMgr.2012.Client.Monitoring.ConfigMgr.2012.Client.Failed.Applications.Deployments.Monitor (UnitMonitor)

Detects failed Applications Deployments on ConfigMgr 2012 clients.

Knowledge Base article:

Summary

This monitor detects any failed ConfigMgr 2012 application deployments on ConfigMgr clients.

Configuration

A critical alert is raised when the at least one failed ConfigMgr 2012 application deployment is detected. This monitor queries the CCM_Application WMI class in "Root\CCM\ClientSDK" Namespace, any application deployments with EvaluationState of 4 are considered as failed.

When the monitor enters Healthy state, the alert is automatically closed.

Resolutions

Please use various tools such as SCCM 2012 Client Center or the native reports in ConfigMgr 2012 console to detect the failed application deployments.

Additional

SCCM 2012 Client Center can be downloaded at http://sccmclictr.codeplex.com

Element properties:

TargetConfigMgr.2012.Client.Library.ConfigMgr.2012.Client.App.Component.Software.Distribution.Agent
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeConfigMgr.2012.Client.Library.Check.Failed.Application.Deployments.2.State.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Failed Applications Deployments Detected on ConfigMgr 2012 Client
On ConfigMgr 2012 client {0}, there are {1} Failed Application Deployments detected. For details of the failed application deployments, please use the SCCM 2012 Client Center or query the "CCM_Application" WMI class in "Root\CCM\ClientSDK" Namespace.
RunAsDefault

Source Code:

<UnitMonitor ID="ConfigMgr.2012.Client.Monitoring.ConfigMgr.2012.Client.Failed.Applications.Deployments.Monitor" Accessibility="Public" Enabled="true" Target="C2CL!ConfigMgr.2012.Client.Library.ConfigMgr.2012.Client.App.Component.Software.Distribution.Agent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="C2CL!ConfigMgr.2012.Client.Library.Check.Failed.Application.Deployments.2.State.MonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="ConfigMgr.2012.Client.Monitoring.ConfigMgr.2012.Client.Failed.Applications.Deployments.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='FailedAppsCount']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OK" MonitorTypeStateID="OK" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3600</IntervalSeconds>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<TimeoutSeconds>180</TimeoutSeconds>
</Configuration>
</UnitMonitor>