Check Http response. [200 OK] monitor type.
Microsoft.LS.2015.Url.BasePage.StatusCode (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
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>