MSSQL 2012: Collect DB Allocated Free Space (MB)

Microsoft.SQLServer.2012.Database.DBAllocatedFreeSpaceMB.Collection (Rule)

SQL 2012 DBs Allocated Free Space (MB) performance collection rule

Knowledge Base article:

Summary

DB Allocated Free Space (MB) for SQL 2012 DB

Element properties:

TargetMicrosoft.SQLServer.2012.Database
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.Database.DBSizeRaw.DataSourceMapped Microsoft.SQLServer.SQLProbeAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2012.Database.DBAllocatedFreeSpaceMB.Collection" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.Database.DBSizeRaw.DataSourceMapped" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CounterName>DB Allocated Free Space (MB)</CounterName>
<CounterKey>DBAllocatedFreeSpaceMB</CounterKey>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>