MECM Central Site to Primary Site Global Data Receiving Status Monitor

MECM.CentralToPrimaryGlobalReceive.LinkStatus.Monitor (UnitMonitor)

This monitor checks if replication is working between Configuration Manager central site and primary site.

Knowledge Base article:

Summary

Configuration Manager continuously monitors the health of the connectivity between parent and child Configuration Manager sites and parent and child SQL Server databases. This confirms that replication is active across sites within a Configuration Manger hierarchy. These checks occur regularly to ensure that global data (e.g., application metadata and configuration items) is synchronized across the site server hierarchy for and up the hierarchy for site data.

Causes

Any number of causes will cause a failure of replication between Configuration Manger parent and child sites:

• Database machine certificate is invalid.

• Database service broker certificate is invalid.

• SQL Port defined in configuration manager is not correct.

• SQL Service Broker port is incorrect.

• SQL Port is not open on the firewall.

• Cannot use the specified account to connect to SQL server.

• The disk space on SQL server is insufficient.

• SQL Server service is down.

• SQL Server service broker is down.

• SMSEXEC service is down.

• Network connectivity between Configuration Manager Sites is down.

Resolutions

System administrators for both SQL Server and Configuration Manager as well as the network administrator should discuss options available to remedy the replication issues among Configuration Manager sites. Check the hman.log in the [Configuration Manager Installation folder]\Logs for further information.

Element properties:

TargetMECM.ReplicationToPrimarySite
Parent MonitorMECM.Replication.AggregateRollup.Monitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMECM.LinkStatus.MT
RemotableTrue
AccessibilityPublic
Alert Message
MECM Central Site to Primary Site Global Data Receiving Not Working
The replication from Site {0} to Site {1} is not working.
RunAsDefault

Source Code:

<UnitMonitor ID="MECM.CentralToPrimaryGlobalReceive.LinkStatus.Monitor" Accessibility="Public" Enabled="true" Target="MECM.ReplicationToPrimarySite" ParentMonitorID="MECM.Replication.AggregateRollup.Monitor" Remotable="true" Priority="Normal" TypeID="MECM.LinkStatus.MT" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="MECM.CentralToPrimaryGlobalReceive.LinkStatus.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="MECM.Server"]/SiteCode$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="MECM.Replication"]/TargetSiteCode$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId7774bdb9848640fcaa9f8b8f62c3f5ba" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdb00ecfe58eaa4e058cbcd67103e91279" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId011bd5cc96b2429fa07e757db984271f" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ParentSite>$Target/Host/Property[Type="MECM.Server"]/SiteCode$</ParentSite>
<ChildSite>$Target/Property[Type="MECM.Replication"]/TargetSiteCode$</ChildSite>
<LinkType>Property[@Name='Site2ToSite1GlobalState']</LinkType>
<IntervalSeconds>360</IntervalSeconds>
<ProviderLocation>$Target/Host/Property[Type="MECM.SiteServer"]/ProviderLocation$</ProviderLocation>
<SiteCode>$Target/Host/Property[Type="MECM.Server"]/SiteCode$</SiteCode>
<IsSP1>$Target/Property[Type="MECM.Replication"]/IsSP1$</IsSP1>
<MatchCount>3</MatchCount>
</Configuration>
</UnitMonitor>