RunAs | Default |
Accessibility | Internal |
Support Monitor Recalculate | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS1 | DataSource | Microsoft.ApacheHTTPServer.URLProbe.DataSource | Default |
Probe | ProbeAction | Microsoft.ApacheHTTPServer.URLProbe.ProbeAction | Default |
CDProbeStatusFailureFalse | ConditionDetection | System.ExpressionFilter | Default |
CDProbeStatusFailureTrue | ConditionDetection | System.ExpressionFilter | Default |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
Interval | int | $Config/Interval$ | Intervalo | |
URL | string | $Config/URL$ | URL | |
Proxy | string | $Config/Proxy$ | Endereço proxy | |
ProxyUserName | string | $Config/ProxyUserName$ | Nome de usuário de proxy | |
ProxyPassword | string | $Config/ProxyPassword$ | Senha de proxy | |
ProxyAuthenticationScheme | string | $Config/ProxyAuthenticationScheme$ | Esquema de autenticação de proxy | |
CredentialUserName | string | $Config/CredentialUserName$ | Nome de usuário de credenciais | |
CredentialPassword | string | $Config/CredentialPassword$ | Senha de credenciais | |
AuthenticationScheme | string | $Config/AuthenticationScheme$ | Esquema de autenticação | |
RetryCount | int | $Config/RetryCount$ | Número de tentativas sucessivas | |
RequestTimeout | int | $Config/RequestTimeout$ | Tempo limite da solicitação | |
StatusCodeThreshold | int | $Config/StatusCodeThreshold$ | StatusCodeThreshold |
<UnitMonitorType ID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeStatus.MonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ProbeStatusFailure" NoDetection="false"/>
<MonitorTypeState ID="ProbeStatusSuccess" 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="StatusCodeThreshold" type="xsd:integer" 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="StatusCodeThreshold" Selector="$Config/StatusCodeThreshold$" ParameterType="int"/>
</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="CDProbeStatusFailureTrue" TypeID="System!System.ExpressionFilter">
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">//BasePageData/ErrorCode</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="Integer">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">//BasePageData/StatusCode</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Integer">$Config/StatusCodeThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDProbeStatusFailureFalse" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">//BasePageData/ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">//BasePageData/StatusCode</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Integer">$Config/StatusCodeThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ProbeStatusFailure">
<Node ID="CDProbeStatusFailureTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ProbeStatusSuccess">
<Node ID="CDProbeStatusFailureFalse">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="ProbeStatusFailure">
<Node ID="CDProbeStatusFailureTrue">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="ProbeStatusSuccess">
<Node ID="CDProbeStatusFailureFalse">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>