Controller Resource Metering Service Monitor

Microsoft.Websites.Monitoring.Controller.ResourceMeteringServiceMonitor (UnitMonitor)

Monitor for Resource Metering Service in the Controller

Knowledge Base article:

Summary

An Unit Monitor for Checking the Service state of Resource Metering Service in the Controller is up and running.

Causes

A Resource Metering service may stop running due to a number of reasons some of which include:

Resolutions

1. Check the Sql Server Machine is working properly with proper with enought Physical disk space

2. Check SQL connection is working properly.

3. Restart the Resource Metering Service after checking Event Logs.

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Websites.Monitoring.Controller.ResourceMeteringServiceMonitor" Accessibility="Public" Enabled="true" Target="MWL!Microsoft.WebSites.Controller" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Websites.Monitoring.Controller.ResourceMeteringServiceMonitor.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>ResourceMetering</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>