SSRS 2014: Total memory consumed on the server (GB)

Microsoft.SQLServer.2014.ReportingServices.PerformanceRule.Instance.MemoryUsedOnServer (Rule)

The rule collects the total size of memory used in gigabytes on the computer where the instance is located.

Knowledge Base article:

Summary

The rule collects the total size of memory used in gigabytes on the computer where the instance is located.

Overrideable Parameters

Name

Description

Default Value

Enabled

 

1

Generates Alerts

 

No

Interval (seconds)

The recurring interval of time in seconds in which to run the workflow.

900

Synchronization Time

 

 

Element properties:

TargetMicrosoft.SQLServer.2014.ReportingServices.Instance
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.ReportingServices.DataSource.MappedInstancePerfomanceDataProvider Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring

Source Code:

<Rule ID="Microsoft.SQLServer.2014.ReportingServices.PerformanceRule.Instance.MemoryUsedOnServer" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.ReportingServices.DataSource.MappedInstancePerfomanceDataProvider" RunAs="SQLRS!Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring">
<ServiceName>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance']/ServiceName$</ServiceName>
<InstallPath>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance']/InstallPath$</InstallPath>
<PerformanceCounterClassName>ServerHardwareInfo</PerformanceCounterClassName>
<PerformanceCounterPropertyName>UsedPhysicalMemoryKB</PerformanceCounterPropertyName>
<DividerIfGreater>0</DividerIfGreater>
<Divider>1048576</Divider>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL RS Instance</ObjectName>
<CounterName>Total Memory Used on the Server (GB)</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='UsedPhysicalMemoryKB']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" RunAs="SQLRS!Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" RunAs="SQLRS!Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring"/>
</WriteActions>
</Rule>