Denna övervakare kontrollerar status för IIS-programpoolen. Om du får en varning från övervakare krävs åtgärder för att få tillbaka programpoolen till ett fungerande läge.
Operationella steg:
En IIS-programpoolsplats kan vara antingen i driftsläget ”Startad” eller ”Stoppad”.
Den enda konfigureringsbara parametern i den här övervakaren är det tidsintervall som används för att kontrollera programpoolens status.
En IIS-programpool kan stoppas av många orsaker, bland andra följande:
Programpoolen har stoppats av en administratör.
Programpoolen har konfigurerats felaktigt vilket gjorde att ett fel uppstod eller att den inte kunde startas.
Om en IIS-programpool stoppas kan du diagnostisera problemet eller starta om programpoolen genom att vidta följande åtgärder:
Kontrollera om det finns ytterligare varningar som rör programpoolen som kan ha uppstått samtidigt. Dessa varningar kan hjälpa till att bättre identifiera orsaken att programpoolen har stoppats.
Granska händelseloggarna på den hanterade datorn och korrigera eventuella underliggande problem som kan ha gjort att programpoolen stoppades oväntat.
Starta programpool
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>