다음을 통해 공유


Microsoft.SystemCenter.WebApplication.UrlProbe

Microsoft.SystemCenter.WebApplication.UrlProbe 프로브 모듈은 하나 이상의 URL에 연결하고 Microsoft.SystemCenter.WebApplication.WebApplicationData를 반환합니다. 그런 다음, 이 데이터를 Microsoft.SystemCenter.WebApplication.Library 의 다른 모듈과 함께 사용하여 대상 웹 사이트의 다양한 측면의 상태를 평가할 수 있습니다.

사용량

Microsoft.SystemCenter.WebApplication.UrlProbe의 기본 기능은 요청을 하나 이상의 URL에 보내고 결과를 보고하는 것입니다. 요청 형식은 복합 형식이며 다른 모듈과 함께 대상 URL의 상태를 평가하는 데 사용됩니다. 단일 프로브에서 많이 요청할 수 있고 요청 결과에 많은 양의 데이터가 포함될 수 있으므로 프로브 자체는 요청에 대한 몇 가지 평가를 수행한 후에 출력을 생성합니다. 예를 들어 쿼리된 URL의 상태 코드를 출력으로 제공하는 대신 모듈은 상태 코드를 지정된 범위와 비교하고 성공 또는 실패 코드를 출력으로 제공합니다. 모듈은 요청에 의해 반환된 HTML의 콘텐츠와 일치할 수도 있습니다. 예를 들어 오류라는 단어와 일치하여 오류 페이지가 반환되었는지 확인할 수 있습니다. 모듈에서 이 평가를 수행하는 경우 규칙 또는 모니터에 복잡한 식 일치 논리가 필요하지 않습니다.

이 모듈은 일반적으로 Microsoft.SystemCenter.WebApplication.PerProbe.Scheduler를 사용하여 자주 트리거됩니다.

Microsoft.SystemCenter.WebApplication.UrlProbe 모듈은 일반적으로 출력을 평가하기 위한 여러 조건 검색 모듈과 함께 사용됩니다. 모듈은 요청에 정의된 매개 변수를 기반으로 URL 상태의 다양한 측면을 평가하고 각각에 대한 적절한 출력을 반환합니다.

이러한 매개 변수 중 일부는 성능 상태를 직접 평가합니다. 이러한 매개 변수의 경우 다음 표와 같이 프로브에서 각각 특정 성능 상태를 나타내는 특정 정수 출력과 일치하는 세 가지 상태 감지 모듈이 사용됩니다.

상태 감지 모듈 일치하는 값
Microsoft.SystemCenter.WebApplication.OKCriteriaMatch 1
Microsoft.SystemCenter.WebApplication.WarningCriteriaMatch 2
Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch 3

다른 매개 변수는 이진 상태를 반환합니다. 이러한 경우 두 가지 상태 감지 모듈이 사용되며, 각 모듈은 다음 표와 같이 프로브의 부울 형식과 일치합니다.

상태 감지 모듈 일치하는 값
Microsoft.SystemCenter.WebApplication.Boolean.CriteriaDoesNotMatch false
Microsoft.SystemCenter.WebApplication.Boolean.CriteriaMatch true

마지막으로, 분석 및 보고를 위해 수집하거나 식 필터 상태 감지 모듈에서 사용할 수 있는 일부 원시 값이 반환됩니다.

형식 정의

<ProbeActionModuleType ID="Microsoft.SystemCenter.WebApplication.UrlProbe" Accessibility="Public" Batching="false" PassThrough="false">
   <Configuration>
      <IncludeSchemaTypes>
         <SchemaType>Microsoft.SystemCenter.WebApplication.WebModulesSchema</SchemaType>
      </IncludeSchemaTypes>
      <xsd:element name="Proxy" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="ProxyUserName" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="ProxyPassword" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="ProxyAuthenticationScheme" type="AuthenticationSchemeType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="CredentialUserName" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="CredentialPassword" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="AuthenticationScheme" type="AuthenticationSchemeType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="IgnoreServerCertError" type="xsd:boolean"  xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="FollowRedirects" type="xsd:boolean" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="RetryCount" type="xsd:unsignedInt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="RequestTimeout" type="xsd:unsignedInt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="Requests" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:complexType>
            <xsd:sequence>
               <xsd:element name="Request" type="RequestType" minOccurs="0" maxOccurs="unbounded" />
            </xsd:sequence>
         </xsd:complexType>
      </xsd:element>
      <xsd:element name="TransactionResponseTimeWarningCriteria" type="RequestEvaluationNumericCriteriaType" minOccurs="0" maxOccurs="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="TransactionResponseTimeErrorCriteria" type="RequestEvaluationNumericCriteriaType" minOccurs="0" maxOccurs="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
      <xsd:element name="PerformanceCollectionFrequencyInCycles" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1" default="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
   </Configuration>
   <OverridableParameters>
      <OverridableParameter ID="Proxy" Selector="$Config/Proxy$" ParameterType="string" />
      <OverridableParameter ID="ProxyUserName" Selector="$Config/ProxyUserName$" ParameterType="string" />
      <OverridableParameter ID="ProxyPassword" Selector="$Config/ProxyPassword$" ParameterType="string" />
      <OverridableParameter ID="ProxyAuthenticationScheme" Selector="$Config/ProxyAuthenticationScheme$" ParameterType="string" />
      <OverridableParameter ID="CredentialUserName" Selector="$Config/CredentialUserName$" ParameterType="string" />
      <OverridableParameter ID="CredentialPassword" Selector="$Config/CredentialPassword$" ParameterType="string" />
      <OverridableParameter ID="AuthenticationScheme" Selector="$Config/AuthenticationScheme$" ParameterType="string" />
      <OverridableParameter ID="IgnoreServerCertError" Selector="$Config/IgnoreServerCertError$"  ParameterType="bool"/>
      <OverridableParameter ID="FollowRedirects" Selector="$Config/FollowRedirects$" ParameterType="bool" />
      <OverridableParameter ID="RetryCount" Selector="$Config/RetryCount$" ParameterType="int" />
      <OverridableParameter ID="RequestTimeout" Selector="$Config/RequestTimeout$" ParameterType="int" />
   </OverridableParameters>
   <ModuleImplementation Isolation="Any">
      <Native>
         <ClassID>92C599FD-6639-4A9F-90DA-E1350162A318</ClassID>
      </Native>
   </ModuleImplementation>
   <OutputType>Microsoft.SystemCenter.WebApplication.WebApplicationData</OutputType>
   <TriggerOnly>true</TriggerOnly>
</ProbeActionModuleType>

매개 변수

다음 표에는 Microsoft.SystemCenter.WebApplication.UrlProbe 모듈에서 지원하는 구성 매개 변수가 나와 있습니다.

매개 변수 형식 Overrides 설명
프록시 String True 필수 매개 변수이지만 비워 둘 수 있습니다. 에이전트에서 URL에 액세스하기 위해 프록시 서버를 요구하는 경우 해당 프록시 서버의 이름을 지정합니다.
ProxyUserName String True 필수 매개 변수이지만 비워 둘 수 있습니다. 지정한 프록시 서버에서 인증을 요구하는 경우 프록시 서버에 사용할 사용자 이름을 지정합니다.
ProxyPassword String True 필수 매개 변수이지만 비워 둘 수 있습니다. 지정한 프록시 서버에서 암호를 요구하는 경우 프록시 서버에 사용할 사용자 이름을 지정합니다.
ProxyAuthenticationScheme AuthenticationSchemeType True 필수 매개 변수입니다. 에이전트에서 URL에 액세스하기 위해 인증 체계를 요구하는 경우 프록시 서버에 사용할 인증 체계를 지정합니다. 유효한 값은 None, Basic, NTLM, DigestNegotiate입니다.
CredentialUserName String True 필수 매개 변수이지만 비워 둘 수 있습니다. 쿼리하는 URL에 사용할 사용자 이름을 지정합니다.
CredientialPassword String True 필수 매개 변수이지만 비워 둘 수 있습니다. 쿼리하는 URL에 사용할 암호를 지정합니다.
AuthenticationScheme AuthenticationSchemeType True 필수 매개 변수입니다. 쿼리하는 URL에 사용할 인증 체계를 지정합니다. 유효한 값은 None, Basic, NTLM, DigestNegotiate입니다.
IgnoreServerCertError Boolean True 서버 인증서 오류를 무시해야 하는지 여부를 지정합니다.
FollowRedirects Boolean True 필수 매개 변수입니다. 쿼리에서 URL 리디렉션을 따라야 하는지 여부를 지정합니다.
RetryCount Integer True 필수 매개 변수입니다. 모듈에서 시간이 초과되기 전에 지정된 URL을 다시 시도해야 하는 횟수를 지정합니다.
RequestTimeout Integer True 필수 매개 변수입니다. 모듈에서 다시 시도하기 전에 지정된 URL에서 응답을 기다리는 시간을 지정합니다.
요청 복합 형식 False Request 요소의 컬렉션입니다(아래 참조).
TransactionResponseTimeWarningCriteria RequestEvaluationNumericCriteriaType False 선택적 매개 변수. 경고를 지정할 응답 시간을 지정합니다.
TransactionResponseTimeErrorCriteria RequestEvaluationNumericCriteriaType False 선택적 매개 변수입니다. 오류를 지정할 응답 시간을 지정합니다.
PerformanceCollectionFrequencyInCycles Integer False 선택적 매개 변수입니다. 각 수집 전에 완료해야 하는 쿼리 간격 수를 지정합니다. 값이 1이면 브라우저 세션이 실행될 때마다 카운터가 수집됩니다. 2이면 브라우저 세션이 실행될 때마다 카운터가 수집됩니다.

Request 요소

Requests 요소는 하나 이상의 Request 요소의 컬렉션입니다. 각 Request 요소에는 해당 Requests 집합 내에서 요청을 고유하게 식별하는 RequestID 하위 요소가 있습니다. 요청은 해당 RequestID에 따라 순서대로 처리됩니다. Request 요소를 구성하는 하위 요소는 다음과 같습니다.

요소 형식 설명
RequestID Integer 각 프로브에서 여러 요청을 시작할 수 있으므로 RequestID는 각 요청을 고유하게 식별하여 요청이 처리될 순서를 지정합니다.
URL String 쿼리할 URL입니다.
동사 VerbType URL 요청에 사용할 동사를 나타냅니다. GET, HEAD 또는 POST 값 중 하나를 사용할 수 있습니다.
Version VersionType 요청에 대한 HTTP 유형을 나타냅니다. 유효한 값은 HTTP/1.0 및 HTTP/1.1입니다.
HttpHeaders HttpHeadersType 요청에 대한 HTTP 헤더입니다. HttpHeadersType은 0개 이상의 HttpHeader 요소(NameValueType 형식)로 구성된 복합 형식입니다. NameValueType은 두 가지 필수 요소, NameValue로 구성됩니다.
본문 String VerbType이 GET 또는 HEAD이면 값이 비어 있습니다. VerbType이 POST이면 POST에서 제출한 요청 본문입니다.
CheckContentChange Boolean true이면 추가 콘텐츠 유효성 검사를 제공합니다.
ContentHash ContentHashType 36자의 문자열(16진수, 8-4-4-4-12)로 구성됩니다.
깊이 Integer 수집할 외부 링크의 수준 수를 지정합니다. 값이 0이면 페이지 자체의 링크만 평가됩니다. 값이 1이면 각 대상 페이지의 링크가 평가됩니다. 값이 2이면 해당 대상 페이지의 링크가 평가되는 방식 등으로 이어집니다.
ThinkTime Integer 요청과 본문 수집 사이의 대기 시간입니다.
CheckInternalLinks Boolean 각 내부 링크의 상태 수집을 활성화하고 요청에 대한 모니터 평가에 내부 링크를 포함시킵니다. 내부 링크는 동일한 페이지의 위치를 가리키는 링크입니다.
CheckExternalLinks Boolean 각 외부 링크의 상태 수집을 활성화하고 요청에 대한 모니터 평가에 외부 링크를 포함시킵니다. 외부 링크는 현재 페이지 외부의 위치를 가리키는 링크입니다.
CheckResources Boolean true이면 모니터에서 페이지에 대한 리소스 상태를 반환합니다. 각 개별 리소스를 측정하는 대신 모든 리소스에 대한 합계가 계산됩니다. false이면 리소스 모니터가 요청에 대해 작동하지 않습니다.
RequestEvaluationCriteria RequestEvaluationCriteriaType 요청에서 반환된 데이터를 평가하는 복합 형식입니다(아래 참조).
FormsAuthCredentials FormsAuthCredentialsType CredentialName, UserNamePassword 문자열로 구성된 복합 형식입니다.

RequestEvaluationCriteria 요소

RequestEvaluationCriteria 요소는 요청에서 반환된 데이터를 평가하고 URL 상태를 확인하는 기능을 제공합니다. 각 요소는 다음과 같은 세 가지 방법 중 하나와 일치할 수 있는 조건을 포함하는 복합 형식입니다.

  • 숫자 조건입니다. 가장 일반적이며, 반환된 상태 코드 또는 응답 시간과 같이 측정 가능한 값을 평가하는 데 사용됩니다.
  • 콘텐츠 일치 조건입니다. 반환되는 HTML의 내용을 평가하여 특정 텍스트 문자열이 포함되어 있는지 여부를 확인하는 데 사용됩니다.
  • 사용자 지정 조건입니다. 사용자가 다양하게 정의하여 사용 가능한 매개 변수와 일치하는 식입니다.

임의의 숫자 조건 또는 사용자 지정 조건을 사용할 수 있지만, 콘텐츠 일치 조건은 하나만 허용됩니다. RequestEvaluationCriteriaType을 구성하는 요소는 다음과 같습니다.

요소 형식 설명
StopProcessingIfWarningCriteriaIsMet 부울 true인 경우 경고 조건이 충족되면 요청 처리를 중지합니다.
StopProcessingIfErrorCriteriaIsMet 부울 true인 경우 오류 조건이 충족되면 요청 처리를 중지합니다.
BasePageEvaluationCriteria 복합 형식 기본 페이지를 평가하는 두 가지 요소, WarningCriteriaErrorCriteria(둘 다 BasePageEvaluationCriteriaType 형식)로 구성됩니다.
LinksEvaluationCriteria 복합 형식 페이지의 링크를 평가하는 두 가지 요소, WarningCriteriaErrorCriteria(둘 다 ChildRequestsEvaluationCriteriaType 형식)로 구성됩니다. ChildRequestsEvaluationCriteriaType은 0개 이상의 NumericCriteriaExpressions(RequestEvaluationNumericCriteriaType 형식), 0~1개의 StatusCodeCriteria(ListNumericRequestCriteriaType 형식) 및 0개 이상의 CustomCriteria(ExpressionType 형식)로 구성됩니다.
ResourcesEvaluationCriteria 복합 형식 페이지의 리소스를 평가하는 두 가지 요소, WarningCriteriaErrorCriteria(둘 다 ChildRequestsEvaluationCriteriaType 형식)로 구성됩니다. ChildRequestsEvaluationCriteriaType은 0개 이상의 NumericCriteriaExpressions(RequestEvaluationNumericCriteriaType 형식), 0~1개의 StatusCodeCriteria(ListNumericRequestCriteriaType 형식) 및 0~1개의 CustomCriteria(ExpressionType 형식)로 구성됩니다.
WebPageTotalEvaluationCritieria 복합 형식 두 가지 요소, WarningCriteriaErrorCriteria(둘 다 WebPageTotalEvaluationCriteriaType 형식)로 구성됩니다(아래 참조). WebPageTotalEvaluationCriteriaType은 기본 페이지, 링크 및 리소스를 포함하여 페이지에 대한 총 통계를 측정하며, WebPageTotalEvaluationCriteriaType 형식입니다. WebPageTotalEvaluationCriteriaType은 0개 이상의 NumericCriteriaExpression 인스턴스(RequestEvaluationNumericCriteriaType 형식, 아래에서 설명)로만 구성됩니다.
DepthEvaluationCriteria 복합 형식 두 가지 요소, WarningCriteriaErrorCriteria(둘 다 DepthEvaluationCriteriaType 형식)로 구성됩니다. DepthEvaluationCriteriaType은 0~1개의 ListNumericRequestCriteriaType 인스턴스(아래에서 설명)로 구성됩니다.

가장 일반적인 평가 형식은 숫자이며, 반환된 데이터 항목(예: 확인 시간)이 구성된 임계값과 비교됩니다. NumericCriteriaExpression은 3가지 요소 NumericRequestMetric, Operator, Value를 포함하는 RequestEvaluationNumericCriteriaType 형식입니다.

NumericRequestMetricNumericRequestMetricType 형식이며, 여러 메트릭 중 하나를 구성할 수 있는 열거형입니다. 각 메트릭이 연결되는 특정 평가 조건은 다음과 같습니다.

조건 메트릭
BasePageData DNSResolutionTime
TCPConnectTime
TimeToFirstByte
TimeToLastByte
RedirectTime
DownloadTime
TotalResponseTime
ContentSize
StatusCode
DaysToExpiry
LinkData AggregateDNSResolutionTime
AggregateTCPConnectTime
AggregateTimeToFirstByte
AggregateTimeToLastByte
AggregateRedirectTime
AggregateDownloadTime
AggregateTotalResponseTime
AggregateContentSize
ResourceData AggregateDNSResolutionTime
AggregateTCPConnectTime
AggregateTimeToFirstByte
AggregateTimeToLastByte
AggregateRedirectTime
AggregateDownloadTime
AggregateTotalResponseTime
AggregateContentSize
TotalData AggregateDNSResolutionTime
AggregateTCPConnectTime
AggregateTimeToFirstByte
AggregateTimeToLastByte
AggregateRedirectTime
AggregateDownloadTime
AggregateTotalResponseTime
AggregateContentSize
없음 TransactionResponseTime

Operator 요소는 Equal, NotEqual, Greater, Less, GreaterEqual 또는 LessEqual 중 하나로 구성된 CriteriaCompareType 형식입니다.

Value 요소는 double 형식이며, 비교할 값의 형식을 지정합니다.

평가하려는 반환된 데이터 항목이 숫자가 아닌 경우(예: 콘텐츠 평가) 문자열과 비교해야 합니다. ContentMatchCriteria는 2가지 하위 요소 OperatorValue를 포함하는 RequestEvaluationStringCriteriaType 형식입니다. Operator는 다음 두 형식 중 하나일 수 있습니다.

  • SimpleStringOperator - CriteriaCompareType 형식이며, Equal, NotEqual, Greater, Less 또는 GreaterEqual로 구성된 열거형입니다.
  • RegExOperator - RegExCompareType 형식이며, ContainsSubstring, MatchesWildcard, MatchesRegularExpression, MatchesMOM2005RegularExpression, MatchesMOM2005BooleanRegularExpression, DoesNotContainSubstring, DoesNotMatchWildcard, DoesNotMatchRegularEspression, DoesNotMatchMOM2005RegularExpression 또는 DoesNotMatchMOM2005BooleanRegularExpression으로 구성된 열거형입니다.

RequestEvaluationStringCriteriaType의 다른 요소는 Value이며, 비교할 문자열입니다.

CustomCriteria 요소는 ExpressionType 형식입니다.

LinksEvaluationCriteriaResourcesEvaluationCriteria에 있는 StatusCodeCriteria 요소는 ListNumericRequestCriteriaType 형식입니다. ListNumericRequestCriteriaType은 3가지 요소 ListNumericRequestMetric(문자열 StatusCode일 수만 있음), Operator(앞에서 다룬 CriteriaCompareType임), Value(double 형식이어야 함)의 시퀀스로 구성됩니다.

유용한 URL 프로브를 만들기 위한 핵심 요소는 Request 요소 및 NumericRequestMetric(일반적)에 있습니다. 평가하려는 웹 페이지의 일부를 알고 있는 경우 열거형에서 올바른 메트릭을 선택할 수 있습니다. 그러나 올바른 메트릭 범주를 선택해야 합니다. 링크 데이터, 리소스 데이터 및 총 데이터에 대한 메트릭은 모두 집계이며 세 가지 범주 모두에 사용할 수 있습니다. 따라서 올바른 범주를 지정하고 Request 요소의 올바른 부분에서 요청해야 합니다.

페이지의 특정 부분(기본 페이지, 링크)에 대한 상태 코드만 평가하려면 다음과 같은 StatusCodeCriteria 요소를 사용합니다.

<StatusCodeCriteria>
  <ListNumericRequestMetric>StatusCode</ListNumericRequestMetric>
  <Operator>GreaterEqual</Operator>
  <Value>400</Value>
</StatusCodeCriteria>

StatusCodeCriteria 섹션에서는 프로브의 성공 응답(400보다 크거나 같은 상태 코드)을 확인합니다.

컴퍼지션

Microsoft.SystemCenter.WebApplication.UrlProbe 모듈은 네이티브 모듈입니다.

모듈 유형 사용 현황
Microsoft.SystemCenter.WebApplication.OKCriteriaMatch 데이터 원본 모듈에서 1(OK) 값을 반환하는 경우를 평가하는 데 사용되는 상태 감지 모듈입니다.
Microsoft.SystemCenter.WebApplication.WarningCriteriaMatch 데이터 원본 모듈에서 1(경고) 값을 반환하는 경우를 평가하는 데 사용되는 상태 감지 모듈입니다.
Microsoft.SystemCenter.WebApplication.ErrorCriteriaMatch 데이터 원본 모듈에서 1(오류) 값을 반환하는 경우를 평가하는 데 사용되는 상태 감지 모듈입니다.
Microsoft.SystemCenter.WebApplication.Boolean.CriteriaDoesNotMatch 데이터 원본 모듈에서 false 값을 반환하는 경우를 평가하는 데 사용되는 상태 감지 모듈입니다.
Microsoft.SystemCenter.WebApplication.Boolean.CriteriaMatch 데이터 원본 모듈에서 true 값을 반환하는 경우를 평가하는 데 사용되는 상태 감지 모듈입니다.

외부 모듈 참조

모듈 유형 사용 현황
Microsoft.SystemCenter.WebApplication.SingleUrlProbe 단일 URL을 테스트하여 200 이외의 상태 코드인지 여부를 확인합니다.

샘플

다음 예제에서는 http://www.microsoft.com URL에 대해 간단한 URL 프로브를 수행합니다. 데이터 원본은 기본 페이지에 대해 반환된 상태 코드를 평가하고, 400보다 큰 상태 코드이면 오류 상태를 나타내는 3 값을 반환합니다. 또한 리소스와 링크에 대해 반환된 상태 코드를 평가하고, 400보다 큰 상태 코드이면 경고 상태를 나타내는 2 값을 반환합니다.

<TypeDefinitions>
 <ModuleTypes>
   <DataSourceModuleType ID="MPAuthor.WebApplications.UrlDataSource" Accessibility="Public" Batching="false">
     <Configuration />
     <ModuleImplementation Isolation="Any">
       <Composite>
         <MemberModules>
           <DataSource ID="Scheduler" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.PerProbe.Scheduler">
             <Scheduler>
               <SimpleReccuringSchedule>
                 <Interval Unit="Seconds">120</Interval>
                 <SpreadInitializationOverInterval Unit="Seconds">120</SpreadInitializationOverInterval>
               </SimpleReccuringSchedule>
               <ExcludeDates />
             </Scheduler>
             <UniquenessKey>$Target/Id$</UniquenessKey>
           </DataSource>
           <ProbeAction ID="Probe" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.UrlProbe">
             <Proxy />
             <ProxyUserName />
             <ProxyPassword />
             <ProxyAuthenticationScheme>None</ProxyAuthenticationScheme>
             <CredentialUserName />
             <CredentialPassword />
             <AuthenticationScheme>None</AuthenticationScheme>
             <IgnoreServerCertError>false</IgnoreServerCertError>
             <FollowRedirects>true</FollowRedirects>
             <RetryCount>0</RetryCount>
             <RequestTimeout>0</RequestTimeout>
             <Requests>
               <Request>
                 <RequestID>1</RequestID>
                 <URL>http://www.microsoft.com</URL>
                 <Verb>GET</Verb>
                 <Version>HTTP/1.1</Version>
                 <HttpHeaders>
                   <HttpHeader>
                     <Name>User-Agent</Name>
                     <Value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</Value>
                   </HttpHeader>
                 </HttpHeaders>
                 <Body />
                 <CheckContentChange>false</CheckContentChange>
                 <ContentHash>00000000-0000-0000-0000-000000000000</ContentHash>
                 <Depth>0</Depth>
                 <ThinkTime>0</ThinkTime>
                 <CheckInternalLinks>false</CheckInternalLinks>
                 <CheckExternalLinks>false</CheckExternalLinks>
                 <CheckResources>false</CheckResources>
                 <RequestEvaluationCriteria>
                   <StopProcessingIfWarningCriteriaIsMet>false</StopProcessingIfWarningCriteriaIsMet>
                   <StopProcessingIfErrorCriteriaIsMet>false</StopProcessingIfErrorCriteriaIsMet>
                   <BasePageEvaluationCriteria>
                     <WarningCriteria />
                     <ErrorCriteria>
                       <NumericCriteriaExpressions>
                         <NumericCriteriaExpression>
                           <NumericRequestMetric>BasePageData/StatusCode</NumericRequestMetric>
                           <Operator>GreaterEqual</Operator>
                           <Value>400</Value>
                         </NumericCriteriaExpression>
                       </NumericCriteriaExpressions>
                     </ErrorCriteria>
                   </BasePageEvaluationCriteria>
                   <LinksEvaluationCriteria>
                     <WarningCriteria>
                       <StatusCodeCriteria>
                         <ListNumericRequestMetric>StatusCode</ListNumericRequestMetric>
                         <Operator>GreaterEqual</Operator>
                         <Value>400</Value>
                       </StatusCodeCriteria>
                     </WarningCriteria>
                     <ErrorCriteria />
                   </LinksEvaluationCriteria>
                   <ResourcesEvaluationCriteria>
                     <WarningCriteria>
                       <StatusCodeCriteria>
                         <ListNumericRequestMetric>StatusCode</ListNumericRequestMetric>
                         <Operator>GreaterEqual</Operator>
                         <Value>400</Value>
                       </StatusCodeCriteria>
                     </WarningCriteria>
                     <ErrorCriteria />
                   </ResourcesEvaluationCriteria>
                   <WebPageTotalEvaluationCriteria>
                     <WarningCriteria />
                     <ErrorCriteria />
                   </WebPageTotalEvaluationCriteria>
                   <DepthEvaluationCriteria>
                     <WarningCriteria />
                     <ErrorCriteria />
                   </DepthEvaluationCriteria>
                 </RequestEvaluationCriteria>
                 <FormsAuthCredentials />
                 <CollectResponseBody>OnContentMatchCriteria</CollectResponseBody>
                 <CollectLinksHeaders>false</CollectLinksHeaders>
                 <CollectResourcesHeaders>false</CollectResourcesHeaders>
               </Request>
             </Requests>
           </ProbeAction>
         </MemberModules>
         <Composition>
           <Node ID="Probe">
             <Node ID="Scheduler" />
           </Node>
         </Composition>
       </Composite>
     </ModuleImplementation>
     <OutputType>MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.WebApplicationData</OutputType>
   </DataSourceModuleType>
 </ModuleTypes>
 <MonitorTypes>
   <UnitMonitorType ID="MPAuthor.WebApplications.BasePageErrorCodeMonitor" Accessibility="Internal">
     <MonitorTypeStates>
       <MonitorTypeState ID="ErrorCodeFailure" NoDetection="false" />
       <MonitorTypeState ID="ErrorCodeSuccess" NoDetection="false" />
     </MonitorTypeStates>
     <Configuration>
       <xsd:element minOccurs="1" name="RequestID" type="xsd:integer" />
     </Configuration>
     <MonitorImplementation>
       <MemberModules>
         <DataSource ID="DS1" TypeID="MPAuthor.WebApplications.UrlDataSource" />
         <ConditionDetection ID="CDErrorCodeFailureTrue" TypeID="System!System.ExpressionFilter">
           <Expression>
             <SimpleExpression>
               <ValueExpression>
                 <XPathQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/ErrorCode</XPathQuery>
               </ValueExpression>
               <Operator>NotEqual</Operator>
               <ValueExpression>
                 <XPathQuery>0</XPathQuery>
               </ValueExpression>
             </SimpleExpression>
           </Expression>
         </ConditionDetection>
         <ConditionDetection ID="CDErrorCodeFailureFalse" TypeID="System!System.ExpressionFilter">
           <Expression>
             <SimpleExpression>
               <ValueExpression>
                 <XPathQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/ErrorCode</XPathQuery>
               </ValueExpression>
               <Operator>Equal</Operator>
               <ValueExpression>
                 <XPathQuery>0</XPathQuery>
               </ValueExpression>
             </SimpleExpression>
           </Expression>
         </ConditionDetection>
       </MemberModules>
       <RegularDetections>
         <RegularDetection MonitorTypeStateID="ErrorCodeFailure">
           <Node ID="CDErrorCodeFailureTrue">
             <Node ID="DS1" />
           </Node>
         </RegularDetection>
         <RegularDetection MonitorTypeStateID="ErrorCodeSuccess">
           <Node ID="CDErrorCodeFailureFalse">
             <Node ID="DS1" />
           </Node>
         </RegularDetection>
       </RegularDetections>
     </MonitorImplementation>
   </UnitMonitorType>
 </MonitorTypes>
</TypeDefinitions>

정보

** ** ** **
모듈 유형 ProbeActionModuleType
입력 형식 없음
출력 형식 Microsoft.SystemCenter.WebApplication.WebApplicationData
구현 기본
라이브러리 Microsoft.SystemCenter.WebApplication.Library