Health Service Store File Size Check

HealthServiceStore.Monitoring.HealthServiceStore.Monitoring.HSStoreFileSizeCheck.Monitor (UnitMonitor)

Element properties:

TargetMicrosoft.SystemCenter.Agent
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeHealthServiceStore.Monitoring.HSStoreFileSizeCheck.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Health Service Store File Size exceeded threshold
The Health Service Store file size has exceeded the defined threshold:

File Location = {0}

File Size (MB) = {1}

Threshold (MB) = {2}
RunAsDefault

Source Code:

<UnitMonitor ID="HealthServiceStore.Monitoring.HealthServiceStore.Monitoring.HSStoreFileSizeCheck.Monitor" Accessibility="Public" Enabled="false" Target="SC!Microsoft.SystemCenter.Agent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="HealthServiceStore.Monitoring.HSStoreFileSizeCheck.MonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="HealthServiceStore.Monitoring.HealthServiceStore.Monitoring.HSStoreFileSizeCheck.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Health Service Store Location']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='Health Service Store Size MB']$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='Threshold MB']$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Unhealthy" MonitorTypeStateID="Unhealthy" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3600</IntervalSeconds>
<FileSizeThresholdMB>100</FileSizeThresholdMB>
</Configuration>
</UnitMonitor>