代理程式版本監視

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>