SQL Server Service Broker 端口监视器

Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort (UnitMonitor)

此监视器检查 SQL Server Service Broker 端口是否正确。

Knowledge Base article:

摘要

这是一个明确定义的端口(默认值为 4022),用于在子与父 SQL Server 之间进行复制通信。 安装 Configuration Manager 站点服务器时,执行安装的 Configuration Manager 管理员将为 SQL Server Service Broker 端口配置一个特定端口,以通过此端口在子与父 SQL Server 之间进行通信。 对于预计用于所设置的站点的 SQL Server 计算机,安装站点服务器的 Configuration Manager 管理员必须具有其本地管理权限,并且必须知道其父 SQL Server Service Broker 通信设置所需的 SQL Server Service Broker 端口。 Configuration Manager 管理员会为 SQL Server Service Broker 指定此众所周知的端口。

原因

解决方法

当 Configuration Manager 检测到无法与配置的 SQL Server Service Broker 端口(默认值为 4022)取得联系时,它会尝试连接到包含其数据库的 SQL Server 计算机,并将 SQL Server Service Broker 端口改回其原始配置。 . 但是,如果 Configuration Manager 站点服务器无法与 SQL Server 系统联系,则网络管理员需要检查防火墙端口或网络连接问题。 有关详细信息,请查看 [Configuration Manager 安装文件夹]\Logs 中的 hman.log。

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.SiteServer
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter2012.ConfigurationManager.StatusMessage3StateMonitor
RemotableTrue
AccessibilityPublic
Alert Message
SQL Server Service Broker 端口不正确。
站点服务器 {0} 上的 SQL Server Service Broker 端口不正确。
RunAsDefault
CommentSIV:GEN0205

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort" Comment="SIV:GEN0205" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SiteServer" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter2012.ConfigurationManager.StatusMessage3StateMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.Server"]/SiteCode$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId9a11b765f4eb4ea3afd0e005cf6f23e9" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId189967d6d3984b07b78935eedae21d4b" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdb97dfde7a3e049269cfd629c2f91e632" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ComponentName>SMS_HIERARCHY_MANAGER</ComponentName>
<RuleId>D362CF53-926B-4f7d-A4A2-0691D3F177F5</RuleId>
<IntervalSeconds>360</IntervalSeconds>
</Configuration>
</UnitMonitor>