Ten monitor śledzi potrzebę ponownego uruchomienia usług IIS spowodowaną przez zmianę w ustawieniach monitorowania dla aplikacji działających na serwerze sieci Web.
Ten monitor śledzi potrzebę ponownego uruchomienia usług IIS spowodowaną przez zmianę w ustawieniach monitorowania dla aplikacji działających na serwerze sieci Web. Gdy potrzebne jest odtworzenie usług IIS, monitor ten przechodzi w stan złej kondycji.
Po zmodyfikowaniu ustawień monitorowania aplikacji przy użyciu szablonu monitorowania wydajności aplikacji .NET potrzebne może być ponowne uruchomienie usług IIS, aby nowe ustawienia zaczęły obowiązywać. Jako przykładowy scenariusz, w którym wymagane jest ponowne uruchomienie usług IIS, można wymienić konfigurowanie monitorowania aplikacji .NET dla pierwszej aplikacji na serwerze sieci Web.
Aby ponownie uruchomić usługi IIS, można kliknąć poniższe łącze: Uruchom ponownie usługi IIS
Na serwerze sieci Web można uruchomić polecenie iisreset.exe.
Target | Microsoft.SystemCenter.Apm.ApmAgent | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | Custom | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.IISRestart.MonitorType | ||
Remotable | False | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.ApmAgent.IISRestart.Monitor" Accessibility="Public" Enabled="true" Target="AI!Microsoft.SystemCenter.Apm.ApmAgent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="false" Priority="Normal" TypeID="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.IISRestart.MonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.ApmAgent.IISRestart.Monitor.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="ApplicationStateOK" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="ApplicationStateWarning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
</Configuration>
</UnitMonitor>