代理版本监视器

Microsoft.SystemCenter.Agent.Configuration.MinRequiredVersionCheckMonitor (UnitMonitor)

此监视器检查代理版本,并在代理的版本低于提供的最小版本的情况下生成警报。

Knowledge Base article:

摘要

此监视器将检查代理的版本,如果它检测到安装的代理版本比监视器配置中指定的版本旧,则会生成警报。

原因

安装在警报中指定的计算机上的代理版本比监视器配置中指定的版本旧。

解决方法

将代理升级到最新版本。

Element properties:

TargetMicrosoft.SystemCenter.Agent
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.Agent.Configuration.MinRequiredVersionCheckMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
代理需要升级
代理版本低于建议的最小版本。右键单击该警报,单击“属性”,然后单击“警报上下文”选项卡以了解详细信息。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Agent.Configuration.MinRequiredVersionCheckMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCLibrary!Microsoft.SystemCenter.Agent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.Agent.Configuration.MinRequiredVersionCheckMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Agent.Configuration.MinRequiredVersionCheckMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AgentUpgradeNotRequired" MonitorTypeStateID="UpgradeNotRequired" HealthState="Success"/>
<OperationalState ID="AgentUpgradeRequired" MonitorTypeStateID="UpgradeRequired" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<RequiredVersion>6.1.7221.0</RequiredVersion>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>86400</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>