監視網站是否回應小於 404 的結果碼
嘗試存取網站時發生監視器錯誤。做法是定期傳送 http 要求給網站。
若此監視器處於錯誤狀態,則網站當機。
使用 Inetmgr.exe 檢查網站的狀態及對應的應用程式組合,如果已停止則重新啟動它們。擷取事件記錄檔及網站的 IIS 記錄檔錯誤項目。檢閱記錄檔以判斷根本原因。
這個監視器若要正常運作,它必須允許傳送 http 要求給網站。它是在本機 SCOM 代理程式中執行
選項 | 定義 | 預設值 |
狀態警示 | 產生警示之監視器的健全狀況狀態。 | 監視器的健全狀況狀態處於嚴重狀態 |
警示優先順序 | 針對這個監視器產生之警示的優先順序。 | 高 |
警示嚴重性 | 針對這個監視器產生之警示的優先順序。 | 重大 |
自動解決警示 | 指定當監視器回到狀況良好的狀態時是否應自動解決警示。 | True |
啟用 | 指定是否應執行監視器。 | True |
產生警示 | 指定從警告狀態變成嚴重狀態時,監視器是否應產生警示。 | True |
間隔 | 監視器執行次數之間的分鐘數。 | 180 |
Target | WindowsAzurePack.WindowsAuthSite | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | WindowsAzurePack.MonitorType.BasePageErrorCodeMonitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="WindowsAzurePack.Monitor.WebSiteAvailability.WindowsAuthSite" Accessibility="Public" Enabled="true" Target="WindowsAzurePack.WindowsAuthSite" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="WindowsAzurePack.MonitorType.BasePageErrorCodeMonitor" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="WindowsAzurePack.Monitor.WebServiceAvailability.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorCodeFailure" MonitorTypeStateID="ErrorCodeFailure" HealthState="Error"/>
<OperationalState ID="ErrorCodeSuccess" MonitorTypeStateID="ErrorCodeSuccess" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RequestID>1</RequestID>
<Url>$Target/Property[Type="WindowsAzurePack.WindowsAuthSite"]/SiteAddress$/</Url>
<IntervalSeconds>1800</IntervalSeconds>
</Configuration>
</UnitMonitor>