偵測狀態

Microsoft.SystemCenter.Ping (UnitMonitor)

此監視會利用 ICMP 偵測來偵測無代理程式電腦。如果電腦由代理程式管理,系統會在本機上自我偵測。

Knowledge Base article:

摘要

此監視偵測到無代理程式管理的遠端電腦。如果該電腦是代理程式管理的電腦,則代理程式會偵測到自己。

此監視在 WMI 中使用 Win32_PingStatus 來進行機器的遠端和本機偵測。

此監視僅適用於 Windows XP 以上或 Windows Server 2003 以上的作業系統。

原因

1. 如果電腦是無代理程式管理的電腦,則此監視會指出該電腦已無法再透過 ICMP Ping 來連絡。這可能因為以下原因而發生:

2. 如果電腦是受代理程式管理,這可能表示本機網路介面卡發生問題。

3. 也可能是 WMI 發生問題。

解決方式

請檢查遠端機器是否已接上網路且具有 IP 位址。本機登入電腦,並在命令列中鍵入:

ipconfig

如果電腦沒有 IP 位址或 IP 位址是 0.0.0.0,請依下列步驟修復本機電腦上的網路連線:

如果是類別檢視,則可在 [網路及網際網路連線] 類別中找到 [網路連線]。

Element properties:

TargetMicrosoft.Windows.Computer
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.PingMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
無法偵測電腦
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Ping" Accessibility="Internal" Enabled="false" Target="Windows!Microsoft.Windows.Computer" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCLibrary!Microsoft.SystemCenter.PingMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Ping.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Reachable" MonitorTypeStateID="Reachable" HealthState="Success"/>
<OperationalState ID="SlowResponseTime" MonitorTypeStateID="SlowResponseTime" HealthState="Warning"/>
<OperationalState ID="Unreachable" MonitorTypeStateID="Unreachable" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Computer>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Computer>
<ResponseTimeThreshold>5000</ResponseTimeThreshold>
<Frequency>300</Frequency>
</Configuration>
</UnitMonitor>