Custom Criteria

WebApplication_0483fe36bf634410b82439dea0bd071a.CustomCriteria (UnitMonitorType)

This monitor is a custom monitor created based on the criteria supplied in the Web Application Editor.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource WebApplication_0483fe36bf634410b82439dea0bd071a.UrlDataSource Default
OnDemandReset ProbeAction System.PassThroughProbe Default
CDErrorCriteriaTrue ConditionDetection Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch Default
CDOK ConditionDetection Microsoft.SystemCenter.WebApplication.OKCriteriaMatch Default
CDWarningCriteriaTrue ConditionDetection Microsoft.SystemCenter.WebApplication.WarningCriteriaMatch Default

Source Code:

<UnitMonitorType ID="WebApplication_0483fe36bf634410b82439dea0bd071a.CustomCriteria" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="WarningCriteriaTrue" NoDetection="false"/>
<MonitorTypeState ID="ErrorCriteriaTrue" NoDetection="false"/>
<MonitorTypeState ID="OK" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="RequestID" type="xsd:unsignedInt"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="WebApplication_0483fe36bf634410b82439dea0bd071a.UrlDataSource"/>
<ProbeAction ID="OnDemandReset" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="CDWarningCriteriaTrue" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.WarningCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/CustomCriteriaEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
<ConditionDetection ID="CDErrorCriteriaTrue" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/CustomCriteriaEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
<ConditionDetection ID="CDOK" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.OKCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/CustomCriteriaEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="WarningCriteriaTrue">
<Node ID="CDWarningCriteriaTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ErrorCriteriaTrue">
<Node ID="CDErrorCriteriaTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OK">
<Node ID="CDOK">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="OK">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>