This monitor tracks the need to restart IIS due to a change in monitoring settings for applications running on the web server.
This monitor tracks the need to restart IIS due to a change in monitoring settings for applications running on the web server. This monitor transitions to an unhealthy state when IIS needs to be recycled.
When application monitoring settings are modified using the .NET Application Performance Monitoring template, IIS might need to be restarted for the new settings to take effect. An example of a scenario that requires restarting IIS is when you are configuring .NET application monitoring for the first application on the web server.
You can restart IIS by clicking the following link: Restart IIS
You can run the iisreset.exe command on the web server.
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>