Optimization Last Run

Microsoft.Windows.FileServices.Service.Deduplication.10.0.Volume.OptimizationRun (UnitMonitor)

Time of latest optimization job

Knowledge Base article:

Summary

This object monitors the health of Optimization jobs on the volume.

When a data deduplication volume has not been processed by Optimization, no additional space savings were made on the volume.

Causes

Optimization has failed to run or was cancelled.

Resolutions

Run Optimization using the Start-DedupJob cmdlet. Or create or enable an Optimization schedule using the powershell cmdlets New-DedupSchedule and Set-DedupSchedule.

Additional

Deduplication Cmdlets in Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=255899)

Element properties:

TargetMicrosoft.Windows.FileServices.Service.Deduplication.10.0.Volume
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.FileServices.Service.Deduplication.10.0.LastJobRun
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.Deduplication.10.0.Volume.OptimizationRun" TypeID="Microsoft.Windows.FileServices.Service.Deduplication.10.0.LastJobRun" Accessibility="Public" Target="Microsoft.Windows.FileServices.Service.Deduplication.10.0.Volume" Remotable="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState MonitorTypeStateID="JobNotRunWithinThreshold" HealthState="Error" ID="JobNotRunWithinThreshold"/>
<OperationalState MonitorTypeStateID="JobRunWithinThreshold" HealthState="Success" ID="JobRunWithinThreshold"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<SyncTime/>
<PropertyBagValueToCheck>DaysSinceLastOptimization</PropertyBagValueToCheck>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<VolumeId>$Target/Property[Type='Microsoft.Windows.FileServices.Service.Deduplication.10.0.Volume']/VolumeId$</VolumeId>
<ThresholdInDays>7</ThresholdInDays>
</Configuration>
</UnitMonitor>