NetworkAdvisor Service Monitor

NetworkAdvisor.FabricView.DCMServiceMonitor (UnitMonitor)

This Monitor will check whether dcm-service is running or not

Knowledge Base article:

Summary

When NetworkAdvisor service is running , State will be shown as helathy and Error State will be shown if NetworkAdvisor service is stopped

Element properties:

TargetNetworkAdvisor.FabricView.DCMService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
NetworkAdvisor Service Monitor
Please see the alert context for details.
RunAsDefault

Source Code:

<UnitMonitor ID="NetworkAdvisor.FabricView.DCMServiceMonitor" Accessibility="Internal" Enabled="true" Target="NetworkAdvisor.FabricView.DCMService" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="NetworkAdvisor.FabricView.DCMServiceMonitor_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/>
<ServiceName>dcm-service</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>