Perf Threshold: Tasks Failed Monitor

Microsoft.Intune.Exchange.Connector.Application.Perf_Threshould_Exchange.Connector.TasksFailed (UnitMonitor)

This monitor checks for Tasks Failed.

Element properties:

TargetMicrosoft.Intune.Exchange.Connector.Application
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Instance NameMicrosoft Intune Exchange Connector: Sync Tasks
Counter NameTasks Failed
Frequency900
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
Tasks Failed is Too High

Instance {0}
Object {1}
Counter {2}
Has a value {3}
At time {4}
RunAsDefault
CommentMicrosoft Intune Exchange Connector Perf_Threshould_Exchange.Connector.TasksFailed

Source Code:

<UnitMonitor ID="Microsoft.Intune.Exchange.Connector.Application.Perf_Threshould_Exchange.Connector.TasksFailed" Comment="Microsoft Intune Exchange Connector Perf_Threshould_Exchange.Connector.TasksFailed" Accessibility="Public" Enabled="true" Target="Microsoft.Intune.Exchange.Connector.Application" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Performance!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Intune.Exchange.Connector.Application.Perf_Threshould_Exchange.Connector.TasksFailed.Alert.Message">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data/Context/ObjectName$</AlertParameter2>
<AlertParameter3>$Data/Context/CounterName$</AlertParameter3>
<AlertParameter4>$Data/Context/Value$</AlertParameter4>
<AlertParameter5>$Data/Context/TimeSampled$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Tasks Failed</CounterName>
<ObjectName>Microsoft Intune Exchange Connector: Sync Tasks</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Threshold>1000</Threshold>
<Direction>greater</Direction>
<NumSamples>12</NumSamples>
</Configuration>
</UnitMonitor>