Collects the performance custom counter File Size Performance
Performance Data for size of the Files in a Folder (all files in a Folder).
Rule is disabled by default.
This rule collects performance data for the performance custom counter File Size Performance. This information is collected and is exposed one or more Views and/or Reports.
The performance custom counter File Size Performance counter exposes the Size of the Files contained in a Folder during the sample interval.
Applies to all Files in a Folder.
Use the Overrides to enable the rule for a Folder or all Folders.
The Collection Performance Rule is disabled by default.
Target | Windows.Monitoring.FileSystem.Folder |
Category | PerformanceCollection |
Enabled | False |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Windows.Monitoring.FileSystem.FileSizePerformance.DataSource | Default |
CD | ConditionDetection | System.Performance.DataGenericMapper | Default |
WritetoDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Windows.Monitoring.FileSystem.FileSizePerformance" Enabled="false" Target="Windows.Monitoring.FileSystem.Folder" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows.Monitoring.FileSystem.FileSizePerformance.DataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<strFolder>"$Target/Property[Type="Windows.Monitoring.FileSystem.Folder"]/Path$"</strFolder>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>File Size Performance</ObjectName>
<CounterName>Performance</CounterName>
<InstanceName>"$Data/Property[@Name='FileName']$"</InstanceName>
<Value>$Data/Property[@Name='FileSize']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WritetoDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SystemCenter1!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>