Base Page Status Code

SLDSampleWebApplication.BasePage.StatusCode (UnitMonitorType)

This monitor checks the Base Page Status Code

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource SLDSampleWebApplication.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="SLDSampleWebApplication.BasePage.StatusCode" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="StatusCodeWarningCriteriaTrue" NoDetection="false"/>
<MonitorTypeState ID="StatusCodeErrorCriteriaTrue" NoDetection="false"/>
<MonitorTypeState ID="StatusCodeOK" 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="SLDSampleWebApplication.UrlDataSource"/>
<ProbeAction ID="OnDemandReset" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="CDWarningCriteriaTrue" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.WarningCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/StatusCodeEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
<ConditionDetection ID="CDErrorCriteriaTrue" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/StatusCodeEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
<ConditionDetection ID="CDOK" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.OKCriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/StatusCodeEvalResult</DataItemEvaluationQuery>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="StatusCodeWarningCriteriaTrue">
<Node ID="CDWarningCriteriaTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="StatusCodeErrorCriteriaTrue">
<Node ID="CDErrorCriteriaTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="StatusCodeOK">
<Node ID="CDOK">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="StatusCodeOK">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>