Triggers Service State

Microsoft.MSMQ.10.0.Monitor.Service.Triggers (UnitMonitor)

Knowledge Base article:

Summary

This monitor tracks the state of the MSMQ triggers service and changes state depending on whether the service is running or not. By default the monitor is configured to generate alerts when the service is not running.

Causes

The process supporting the service has failed or the service has been sent a stop command.

Resolutions

Restart the MSMQ triggers service. If the service fails to start then investigate the cause of the failure further by looking for events in the event log, which provide more details.

Element properties:

TargetMicrosoft.MSMQ.10.0.Triggers
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
The MSMQ Triggers Service is stopped.
The MSMQ Triggers Service is stopped.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.MSMQ.10.0.Monitor.Service.Triggers" Accessibility="Public" Enabled="true" Target="Microsoft.MSMQ.10.0.Triggers" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.MSMQ.10.0.Monitor.Service.Triggers.AlertMessageResourceID">
<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/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>$Target/Property[Type="Microsoft.MSMQ.10.0.Trigger"]/ServiceName$</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>