Monitor stanu włączenia agenta Advisor Connector

Microsoft.SystemCenter.Advisor.AgentHealth.ComputerOptInMonitor (UnitMonitor)

Knowledge Base article:

Podsumowanie

Nie można włączyć agenta Advisor Connector na komputerze.

Przyczyny

Typowymi przyczynami powyższego kodu błędu mogą być: 1: agent usługi Advisor jest już zainstalowany na wybranym komputerze. 2: program .NET Framework 3.5 SP1 nie jest zainstalowany w systemie Windows Server 2008 lub Windows Server 2008 R2. 3: program .NET Framework 4.0 nie jest zainstalowany w systemie Windows Server 2012 lub nowszym. 4: agent usługi Advisor został już włączony w innej grupie zarządzania przy użyciu tego konta Microsoft. 5: wersja systemu oprogramowania na wybranym komputerze nie obsługuje dołączonej usługi Advisor. Usługa Advisor wymaga systemu Windows Server 2008 lub nowszego.

Rozwiązania

Rozwiąż problem zgodnie ze szczegółowymi informacjami podanymi w alercie, a następnie uruchom usługę HealthService.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Nie można włączyć agenta Advisor Connector na komputerze.
Opis zdarzenia: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Advisor.AgentHealth.ComputerOptInMonitor" Accessibility="Public" Enabled="true" Target="SC!Microsoft.SystemCenter.HealthService" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Advisor.AgentHealth.ComputerOptInMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(54014|54015|54016|54017|54018|54019|54020|54021)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Advisor</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(50001|54031)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Advisor</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>