此監視會利用 ICMP 偵測來偵測無代理程式電腦。 如果電腦由代理程式管理,系統會在本機上自我偵測。
此監視會定期偵測目標電腦,並根據是否收到回應來變更狀態。 依預設,只有無代理程式管理的電腦才會啟用此監視。 如果針對代理程式管理的電腦啟用此監視,則代理程式會進行自我偵測。 這個監視必須使用 Win32_PingStatus 方法 WMI 來執行偵測,因此只適用於 Windows XP 以上或 Windows Server 2003 以上的作業系統。
1. 執行 Windows Vista 或 Windows Server 2008 之電腦的預設防火牆設定將會導致電腦無法提供偵測回應。 這個原因同時適用於代理程式管理的系統和無代理程式管理的系統。
2. 如果電腦採用無代理程式的管理方式,則電腦可能已經不會再透過 ICMP Ping 來回應。 這可能因為以下原因而發生:
電腦已重新開機或關機
電腦的網路介面卡未接上網路
已捨棄 ICMP Ping 要求或存留時間 (TTL) 已到期
3. 如果電腦是受代理程式管理,這可能表示本機網路介面卡發生問題。
4. 也可能是 WMI 發生問題。
若電腦執行的是 Windows Vista 或 Windows Server 2008,請將防火牆設定成允許傳入的 ICMP 流量。 如需指示,請參閱<Create an Inbound ICMP Rule on Windows Vista or Windows Server 2008> (在 Windows Vista 或 Windows Server 2008 上建立輸入 ICMP 規則) ( http://go.microsoft.com/fwlink/?LinkId=161045)。
請檢查遠端機器是否已接上網路且具有 IP 位址。 本機登入電腦,並在命令列中鍵入:
ipconfig
如果電腦沒有 IP 位址或 IP 位址是 0.0.0.0,請依下列步驟修復本機電腦上的網路連線:
開啟 [控制台]
開啟 [網路連線]
如果是類別目錄檢視,則可在 [網路和網際網路連線] 類別目錄中找到 [網路連線]。
在無法偵測的網路連線上按一下滑鼠右鍵,然後選擇 [修復]
從命令列鍵入 ipconfig,再次檢查電腦是否具有有效的 IP 位址。
如果仍無法解決問題,請停用該網路連線,然後再重新啟用。
Target | Microsoft.Windows.Computer | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.PingMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.Ping" Accessibility="Public" 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>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</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>