Agent heartbeats

QND.OMS.Workspace.SysHeartbeat.Monitor (UnitMonitor)

Element properties:

TargetQND.OMS.Workspace
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeQND.OMS.Workspace.SysHeartbeat.MT
RemotableTrue
AccessibilityPublic
Alert Message
QND - OMS Workspace has systems not heartbeating
{0} systems with obsolete data. Current threshold {1} minutes. More info at {2}
RunAsDefault

Source Code:

<UnitMonitor ID="QND.OMS.Workspace.SysHeartbeat.Monitor" Accessibility="Public" Enabled="true" Target="QND.OMS.Workspace" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="QND.OMS.Workspace.SysHeartbeat.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="QND.OMS.Workspace.SysHeartbeat.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name="ObsoleteDataSystems"]$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name="AgeMinutes"]$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name="Url"]$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Obsolete" MonitorTypeStateID="Obsolete" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3611</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>900</TimeoutSeconds>
<TraceLevel>2</TraceLevel>
<ClientId>$Target/Host/Property[Type="Azure!Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ClientId$</ClientId>
<SubscriptionId>$Target/Host/Property[Type="Azure!Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$</SubscriptionId>
<Proxy>$Target/Host/Property[Type="Azure!Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ProxyServerAddress$</Proxy>
<AuthBaseAddress>$Target/Host/Property[Type="Azure!Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/Authority$</AuthBaseAddress>
<ResourceBaseAddress>$Target/Host/Property[Type="Azure!Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ArmServiceUri$</ResourceBaseAddress>
<AADUserName>$RunAs[Name="Azure!Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/UserName$</AADUserName>
<AADPassword>$RunAs[Name="Azure!Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/Password$</AADPassword>
<ResourceURI>$Target/Property[Type="QNDA!QND.Azure.GenericService"]/ServiceId$</ResourceURI>
<OMSAPIVersion>$Target/Property[Type="QND.OMS.Workspace"]/OMSAPIVersion$</OMSAPIVersion>
<MaxAgeMinutes>30</MaxAgeMinutes>
<LookbackHours>120</LookbackHours>
<ExcludePattern/>
<Heartbeat>11</Heartbeat>
</Configuration>
</UnitMonitor>