MECM Service Availability on System Health Validator Monitor
MECM.SystemHealthValidator.Service.Monitor (UnitMonitor)
This monitor checks the availability status of System Health Validator service.
Element properties:
Source Code:
<UnitMonitor ID="MECM.SystemHealthValidator.Service.Monitor" Accessibility="Public" Enabled="true" Target="MECM.SystemHealthValidator" ParentMonitorID="MECM.SiteRole.AggregateRollup.Monitor" Remotable="true" Priority="Normal" TypeID="MECM.Service.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="MECM.SystemHealthValidator.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>SMS_SYSTEM_HEALTH_VALIDATOR</ServiceName>
<IntervalSeconds>120</IntervalSeconds>
<MatchCount>5</MatchCount>
</Configuration>
</UnitMonitor>