IIS 공유 구성에 대한 클라이언트 쪽 모니터링 수집 끝점 경고 규칙

Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.CsmCollectorRemovalOnSharedIisRule (Rule)

이 규칙은 이벤트 로그에 클라이언트 쪽 모니터링 수집 끝점이 더 이상 필요하지 않다는 경고가 포함될 경우 경고를 생성합니다.

Knowledge Base article:

요약

IIS 공유 구성 환경에서 클라이언트 쪽 모니터링을 해제하면 모니터링되는 다른 서버에서 사용하는 클라이언트 쪽 모니터링 수집 IIS 끝점 CSM 수집기가 유지됩니다.

원인

클라이언트 쪽 모니터링을 사용하면 모니터링되는 클라이언트 쪽 응용 프로그램을 최소한 하나 이상 호스팅하는 각 웹 사이트에 대해 CSM 수집기의 단일 인스턴스가 자동으로 생성됩니다. 서버 쪽 모니터링에 대해서는 또는 모니터링이 사용되지 않는 경우에는 이 끝점이 필요하지 않습니다. IIS(인터넷 정보 서비스) 관리자를 사용하여 CSM 수집기의 사용하지 않는 인스턴스를 수동으로 삭제할 수 있습니다. 클라이언트 쪽 모니터링을 해제하면 IIS 공유 구성을 사용하지 않는 환경에서 CSM 수집기 끝점이 자동으로 삭제됩니다.

해결 방법

동일한 IIS 구성을 공유하는 서버는 이 경고에 지정된 웹 사이트에서 클라이언트 쪽 모니터링을 통해 모니터링되는 응용 프로그램을 호스팅하지 않습니다.

IIS 공유 구성에서 구성된 클라이언트 쪽 모니터링 수집 끝점에 사용자 동의 없이 설치된 인스턴스가 없는 것을 확인한 후에는 이 경고를 닫아도 좋습니다.

Element properties:

TargetMicrosoft.SystemCenter.Apm.ApmAgent
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableFalse
Alert Message
클라이언트 쪽 모니터링 수집 IIS 끝점은 제거되지 않음
{1} 웹 사이트의 {0}에 대한 모니터링을 비활성화해도 공유 IIS 구성으로 인해 클라이언트 쪽 모니터링 수집 IIS 끝점 CSM 수집기가 제거되지는 않습니다. 모니터링되는 다른 서버에서 이 끝점을 더 이상 사용하지 않으면 IIS 관리 도구를 사용하여 공유 IIS 구성에서 이 끝점을 제거하세요.

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventCollector Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.CsmCollectorRemovalOnSharedIisRule" Enabled="true" Target="AI!Microsoft.SystemCenter.Apm.ApmAgent" ConfirmDelivery="true" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventCollector">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<AllowProxying>false</AllowProxying>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">.Net app monitoring</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">34251</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.CsmCollectorRemovalOnSharedIisAlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[2]$</AlertParameter2>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>