Apache URL 探查回應時間總計監視類型

Microsoft.ApacheHTTPServer.VirtualHost.URLProbeTotalResponseTime.MonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource Microsoft.ApacheHTTPServer.URLProbe.DataSource Default
Probe ProbeAction Microsoft.ApacheHTTPServer.URLProbe.ProbeAction Default
CDResponseTimeFailure ConditionDetection System.ExpressionFilter Default
CDResponseTimeSuccess ConditionDetection System.ExpressionFilter Default
CDResponseTimeWarning ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$間隔
URLstring$Config/URL$URL
Proxystring$Config/Proxy$Proxy 位址
ProxyUserNamestring$Config/ProxyUserName$Proxy 使用者名稱
ProxyPasswordstring$Config/ProxyPassword$Proxy 密碼
ProxyAuthenticationSchemestring$Config/ProxyAuthenticationScheme$Proxy 驗證配置
CredentialUserNamestring$Config/CredentialUserName$認證使用者名稱
CredentialPasswordstring$Config/CredentialPassword$認證密碼
AuthenticationSchemestring$Config/AuthenticationScheme$驗證配置
RetryCountint$Config/RetryCount$重試計數
RequestTimeoutint$Config/RequestTimeout$要求逾時
ResponseTimeErrorThresholddouble$Config/ResponseTimeErrorThreshold$回應時間錯誤閾值回應時間錯誤閾值
ResponseTimeWarningThresholddouble$Config/ResponseTimeWarningThreshold$回應時間警告閾值回應時間警告閾值

Source Code:

<UnitMonitorType ID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeTotalResponseTime.MonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ProbeResponseTimeFailure" NoDetection="false"/>
<MonitorTypeState ID="ProbeResponseTimeWarning" NoDetection="false"/>
<MonitorTypeState ID="ProbeResponseTimeSuccess" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>WebApp!Microsoft.SystemCenter.WebApplication.WebModulesSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Interval" type="xsd:integer" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="URL" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Proxy" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ProxyUserName" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ProxyPassword" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ProxyAuthenticationScheme" type="AuthenticationSchemeType" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CredentialUserName" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CredentialPassword" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AuthenticationScheme" type="AuthenticationSchemeType" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RetryCount" type="xsd:integer" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RequestTimeout" type="xsd:integer" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ResponseTimeErrorThreshold" type="xsd:double" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ResponseTimeWarningThreshold" type="xsd:double" minOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="URL" Selector="$Config/URL$" ParameterType="string"/>
<OverrideableParameter ID="Proxy" Selector="$Config/Proxy$" ParameterType="string"/>
<OverrideableParameter ID="ProxyUserName" Selector="$Config/ProxyUserName$" ParameterType="string"/>
<OverrideableParameter ID="ProxyPassword" Selector="$Config/ProxyPassword$" ParameterType="string"/>
<OverrideableParameter ID="ProxyAuthenticationScheme" Selector="$Config/ProxyAuthenticationScheme$" ParameterType="string"/>
<OverrideableParameter ID="CredentialUserName" Selector="$Config/CredentialUserName$" ParameterType="string"/>
<OverrideableParameter ID="CredentialPassword" Selector="$Config/CredentialPassword$" ParameterType="string"/>
<OverrideableParameter ID="AuthenticationScheme" Selector="$Config/AuthenticationScheme$" ParameterType="string"/>
<OverrideableParameter ID="RetryCount" Selector="$Config/RetryCount$" ParameterType="int"/>
<OverrideableParameter ID="RequestTimeout" Selector="$Config/RequestTimeout$" ParameterType="int"/>
<OverrideableParameter ID="ResponseTimeErrorThreshold" Selector="$Config/ResponseTimeErrorThreshold$" ParameterType="double"/>
<OverrideableParameter ID="ResponseTimeWarningThreshold" Selector="$Config/ResponseTimeWarningThreshold$" ParameterType="double"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="Microsoft.ApacheHTTPServer.URLProbe.DataSource">
<Interval>$Config/Interval$</Interval>
<URL>$Config/URL$</URL>
<Proxy>$Config/Proxy$</Proxy>
<ProxyUserName>$Config/ProxyUserName$</ProxyUserName>
<ProxyPassword>$Config/ProxyPassword$</ProxyPassword>
<ProxyAuthenticationScheme>$Config/ProxyAuthenticationScheme$</ProxyAuthenticationScheme>
<CredentialUserName>$Config/CredentialUserName$</CredentialUserName>
<CredentialPassword>$Config/CredentialPassword$</CredentialPassword>
<AuthenticationScheme>$Config/AuthenticationScheme$</AuthenticationScheme>
<RetryCount>$Config/RetryCount$</RetryCount>
<RequestTimeout>$Config/RequestTimeout$</RequestTimeout>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.ApacheHTTPServer.URLProbe.ProbeAction">
<URL>$Config/URL$</URL>
<Proxy>$Config/Proxy$</Proxy>
<ProxyUserName>$Config/ProxyUserName$</ProxyUserName>
<ProxyPassword>$Config/ProxyPassword$</ProxyPassword>
<ProxyAuthenticationScheme>$Config/ProxyAuthenticationScheme$</ProxyAuthenticationScheme>
<CredentialUserName>$Config/CredentialUserName$</CredentialUserName>
<CredentialPassword>$Config/CredentialPassword$</CredentialPassword>
<AuthenticationScheme>$Config/AuthenticationScheme$</AuthenticationScheme>
<RetryCount>$Config/RetryCount$</RetryCount>
<RequestTimeout>$Config/RequestTimeout$</RequestTimeout>
</ProbeAction>
<ConditionDetection ID="CDResponseTimeFailure" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">//BasePageData/TotalResponseTime</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ResponseTimeErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDResponseTimeWarning" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">//BasePageData/TotalResponseTime</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/ResponseTimeErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">//BasePageData/TotalResponseTime</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ResponseTimeWarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDResponseTimeSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">//BasePageData/TotalResponseTime</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/ResponseTimeWarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ProbeResponseTimeFailure">
<Node ID="CDResponseTimeFailure">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ProbeResponseTimeWarning">
<Node ID="CDResponseTimeWarning">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ProbeResponseTimeSuccess">
<Node ID="CDResponseTimeSuccess">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="ProbeResponseTimeFailure">
<Node ID="CDResponseTimeFailure">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="ProbeResponseTimeWarning">
<Node ID="CDResponseTimeWarning">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="ProbeResponseTimeSuccess">
<Node ID="CDResponseTimeSuccess">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>