此監視可檢查 IIS 應用程式集區的狀態。如果您收到此監視的警示,則需要執行動作才能將應用程式集區帶回操作狀態。
操作狀態:
IIS 應用程式集區站台可能處於「已啟動」或「已停止」的操作狀態。
監視器唯一可設定的參數是用來檢查應用程式集區狀態的時間間隔。
IIS 應用程式集區可能會因許多原因而停止,包括:
系統管理員停止應用程式集區。
應用程式集區設定錯誤,導致其失敗或無法啟動。
如果 IIS 應用程式集區已停止,您可以採取下列動作來診斷問題或重新啟動應用程式集區:
檢查可能已同時發生的其他與應用程式集區相關之警示。這些警示可能有助於更好地識別應用程式集區停止的原因。
檢閱受管理電腦上的事件記錄檔,並修正可能使應用程式集區意外停止的任何潛在問題。
啟動應用程式集區
Target | Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.Server.IIS.IISApplicationPoolStateMonitor.8 | ||
Remotable | False | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.ApplicationPoolStatusCheck.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.IIS.IISApplicationPoolStateMonitor.8" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.ApplicationPoolStatusCheck.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool"]/PoolID$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Started" MonitorTypeStateID="Started" HealthState="Success"/>
<OperationalState ID="Stopped" MonitorTypeStateID="Stopped" HealthState="Error"/>
</OperationalStates>
<Configuration>
<PeriodInSeconds>60</PeriodInSeconds>
<PoolID>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool"]/PoolID$</PoolID>
</Configuration>
</UnitMonitor>