Recycle IIS Monitor

AVIcode.DotNet.SystemCenter.EnterpriseAgent.RecycleIIS.Monitor (UnitMonitor)

Changes in the settings will only take effect after recycling the IIS. If not alert is generated.

Knowledge Base article:

Summary

When a configuration change has been made to an ASP.NET or Web Service application, the IIS Application Pools must be recycled for the changes to take effect.

Causes

Making changes to the monitoring settings (e.g. after adding/deleting functions, resource, entry-points, namespaces) requires an application pool recycle. A recycle is not required after changing threshold settings.

Resolutions

Open the Operations Manager 2007 Console.

Go to the 'Monitoring' view

Navigate to "AVIcode .NET Application Monitoring" > "Monitoring Agent State"

In the 'Actions' pane, select "Enterprise .NET Monitoring Agent Tasks" > "Recycle Application Pools"

Click 'Run'

Element properties:

TargetAVIcode.DotNet.SystemCenter.EnterpriseAgent
Parent MonitorSystem.Health.ConfigurationState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeAVIcode.DotNet.SystemCenter.EnterpriseAgent.IISRecycleMonitor
RemotableFalse
AccessibilityInternal
Alert Message
Recycle IIS
Changes in the settings will only take effect after recycling the IIS.
RunAsDefault

Source Code:

<UnitMonitor ID="AVIcode.DotNet.SystemCenter.EnterpriseAgent.RecycleIIS.Monitor" Accessibility="Internal" Enabled="true" Target="AVIcode.DotNet.SystemCenter.EnterpriseAgent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="false" Priority="Normal" TypeID="AVIcode.DotNet.SystemCenter.EnterpriseAgent.IISRecycleMonitor" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="AVIcode.DotNet.SystemCenter.EnterpriseAgent.RecycleIIS.Monitor.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="ApplicationStateOK" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="ApplicationStateWarning" HealthState="Warning"/>
</OperationalStates>
<Configuration/>
</UnitMonitor>