Publisher WebDeploy Service Monitor

Microsoft.Websites.Monitoring.Publisher.WebDeployServiceMonitor (UnitMonitor)

Monitor for Web Deployment Service in the Publisher Role

Knowledge Base article:

Summary

An Unit Monitor for Checking the Service state of Web Deploy Service in the Publisher is up and running.

Causes

A Web Deploy Service service may stop running due to a number of reasons some of which include:

Resolutions

Have enough Disk space to deploy new sites.

Restart the Web Farm Agent Service after checking Event Logs.

Element properties:

TargetMicrosoft.WebSites.Publisher
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Publisher Web Deployment Service has stopped running.
Web Deployment Service is not running.
Check the Service running on the Publisher Role.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Websites.Monitoring.Publisher.WebDeployServiceMonitor" Accessibility="Public" Enabled="true" Target="MWL!Microsoft.WebSites.Publisher" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Websites.Monitoring.Publisher.WebDeployServiceMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</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"]/NetworkName$</ComputerName>
<ServiceName>MsDepSvc</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>