Monitor relacji między agentami a serwerami zarządzania

Microsoft.SystemCenter.OpsMgrDB.DetectDuplicateRelationshipsforAgentsToServers (UnitMonitor)

Ten monitor wykrywa potencjalne problemy z operacyjną bazą danych, sprawdzając występowanie uszkodzonych rekordów relacji między agentami a serwerami zarządzania, które mogłyby zatrzymać generowanie konfiguracji dla całej grupy zarządzania i spowodować, że wszystkie systemy działałyby na podstawie starej konfiguracji.

Knowledge Base article:

Podsumowanie

Typ monitora wykrywający zduplikowane rekordy relacji między agentami a serwerami.

Przyczyny

Często występującą formą uszkodzenia danych jest sytuacja, w której agenci mają więcej niż jedną relację z danym serwerem zarządzania (podstawowym lub pomocniczym).

Rozwiązania

Aby rozwiązać ten problem, uruchom następujące zadanie w konsoli Operacje. Uruchom zadanie naprawy zduplikowanych relacji agentów dla serwerów w operacyjnej bazie danych

Element properties:

TargetMicrosoft.SystemCenter.OpsMgrDBWatcher
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.2007.OpsMgrDB.DetectDuplicateRelationshipsforAgentsToServers.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Komunikat alertu monitora relacji między agentami a serwerami zarządzania
Wykryto zduplikowane relacje między agentami a serwerami zarządzania na serwerze {0} dla bazy danych {1}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.OpsMgrDB.DetectDuplicateRelationshipsforAgentsToServers" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.2007.OpsMgrDB.DetectDuplicateRelationshipsforAgentsToServers.MonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.OpsMgrDB.DetectDuplicateRelationshipsforAgentsToServers.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseServerName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="HealthyNoDuplicates" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="ErrorDuplicatesFound" MonitorTypeStateID="Critical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<Synctime/>
<TimeoutSeconds>300</TimeoutSeconds>
<DatabaseServerName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseServerName$</DatabaseServerName>
<DatabaseName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseName$</DatabaseName>
</Configuration>
</UnitMonitor>