MECM IIS Service Availability on Application Catalog Web Service Point Monitor

MECM.ApplicationWebService.IIS.Service.Monitor (UnitMonitor)

This monitor checks the availability status of IIS services.

Knowledge Base article:

Summary

This monitor checks the status of the IIS Web Server service (W3SVC). If you receive an alert from this monitor, action is required to bring the service back to an operational state.

This monitor is as same as the IIS Web Server service monitor of Internet Information Service management pack. If that monitor is enabled, this one can be disabled to avoid duplicated alerts.

Causes

A service can stop for many reasons, including:

Resolutions

If the IIS Web Server service (W3SVC) is not running you can diagnose the issue or restart the service by taking the following actions:

Element properties:

TargetMECM.ApplicationWebService
Parent MonitorMECM.SiteRole.AggregateRollup.Monitor
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMECM.Service.MT
RemotableTrue
AccessibilityPublic
Alert Message
MECM IIS Service Not Running on Application Catalog Web Service Point
The {0} service on computer {1} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="MECM.ApplicationWebService.IIS.Service.Monitor" Accessibility="Public" Enabled="false" Target="MECM.ApplicationWebService" ParentMonitorID="MECM.SiteRole.AggregateRollup.Monitor" Remotable="true" Priority="Normal" TypeID="MECM.Service.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="MECM.ApplicationWebService.IIS.Service.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='DisplayName']$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>W3SVC</ServiceName>
<IntervalSeconds>120</IntervalSeconds>
<MatchCount>5</MatchCount>
</Configuration>
</UnitMonitor>