Uygulama Bileşeni İzleyicisi İçin Boş Hedef Grubu

Microsoft.SystemCenter.Apm.ApplicationComponentGroup.EmptyApplicationComponentsMonitor (UnitMonitor)

Uygulama Bileşeni İzleyicisi için Boş Hedef Grubu, uygulamaları barındıran herhangi bir sunucu içermeyen hedef grupları denetler.

Knowledge Base article:

Özet

Uygulama bileşenleri boş bir hedef gruba kapsanıyorsa örneğin durumu bozulur.

Nedenler

.NET Uygulama Performansı İzleme şablonu, izlemeyi o bilgisayar grubunun üyeleriyle sınırlayan bir hedef grup belirlemenize izin verir. Hedef grup, uygulama grubu düzeyinde ayarlanabilir veya özel olarak tek tek uygulama bileşenleri için özelleştirilmiş ayarlar iletişim kutusunda ayarlanabilir. Hedef grup boşsa veya uygulama bileşenini barındıran bir sunucu içermiyorsa, uygulama bileşeni izlenmeyecektir.

Çözümler

Bu sorun, düzgün çalışmayan uygulama bileşeninin hedef grubunu uygulamayı barındıran sunucular içeren bir bilgisayar grubuna güncelleştirdiğinizde çözümlenecektir. Hedef grubunu geçerli bir bilgisayar grubuna güncelleştirmek için, Operations Konsolunu kullanın, Hazırlama alanına gidin ve aşağıdaki adımları kullanın:

Element properties:

TargetMicrosoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponentGroup
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Uygulama Bileşeni için Boş Hedef Grup
{0} içinde bulunan {1} uygulama bileşenleri, uygulamaları barındıran bir sunucu içermeyen hedef gruplar tarafından kapsanır. Hedeflenen grup, uygulamaları barındıran sunucuları içerecek şekilde güncelleştirilene kadar bu uygulama bileşenleri izlenmeyecektir.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Apm.ApplicationComponentGroup.EmptyApplicationComponentsMonitor" Accessibility="Public" Enabled="true" ParentMonitorID="Health!System.Health.ConfigurationState" Target="ApplicationMonitoring!Microsoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponentGroup" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" Remotable="true" Priority="Normal" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.ApplicationComponentGroup.EmptyApplicationComponentsMonitor.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="ApplicationMonitoring!Microsoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponentGroup"]/ApplicationName$</AlertParameter1>
<AlertParameter2>$Data/Context/DataItem/Params/Param[5]$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<FirstComputerName>.</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<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">34433</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Id$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>.</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<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">34416</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Id$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>