Check Http response. [200 OK] monitor type.

Microsoft.LS.2015.Url.BasePage.StatusCode (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource Microsoft.LS.2015.Url.UrlCheck.DS Default
CDErrorCriteriaTrue ConditionDetection Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch Default
CDOK ConditionDetection Microsoft.SystemCenter.WebApplication.OKCriteriaMatch Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ProxyPasswordstring$Config/ProxyPassword$Proxy Password
ProxyUserNamestring$Config/ProxyUserName$Proxy User Name
ProxyAuthenticationSchemestring$Config/ProxyAuthenticationScheme$Proxy Authentication Scheme
Proxystring$Config/Proxy$Proxy
IntervalSecondsint$Config/IntervalSeconds$Interval Seconds

Source Code:

<UnitMonitorType ID="Microsoft.LS.2015.Url.BasePage.StatusCode" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="StatusCodeErrorCriteriaTrue" NoDetection="false"/>
<MonitorTypeState ID="StatusCodeOK" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.WebModulesSchema</SchemaType>
</IncludeSchemaTypes>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="RequestID" type="xsd:unsignedInt"/>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="Url" type="xsd:string"/>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:unsignedInt"/>
<xsd:element minOccurs="0" maxOccurs="1" name="Proxy" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="ProxyUserName" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="ProxyPassword" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="ProxyAuthenticationScheme" type="AuthenticationSchemeType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="Proxy" Selector="$Config/Proxy$" ParameterType="string"/>
<OverrideableParameter ID="ProxyAuthenticationScheme" Selector="$Config/ProxyAuthenticationScheme$" ParameterType="string"/>
<OverrideableParameter ID="ProxyUserName" Selector="$Config/ProxyUserName$" ParameterType="string"/>
<OverrideableParameter ID="ProxyPassword" Selector="$Config/ProxyPassword$" ParameterType="string"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="Microsoft.LS.2015.Url.UrlCheck.DS">
<Url>$Config/Url$</Url>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<Proxy/>
<ProxyUserName/>
<ProxyPassword/>
<ProxyAuthenticationScheme>None</ProxyAuthenticationScheme>
</DataSource>
<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="StatusCodeErrorCriteriaTrue">
<Node ID="CDErrorCriteriaTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="StatusCodeOK">
<Node ID="CDOK">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>