当前已建立的客户端连接数。此计数器每十五分钟轮询一次。
与大部分性能数据收集规则不同的是,此规则需要使用服务器上的管理员权限才能让代理收集数据。因此,此规则配置为利用随 SQL 提供的“SQL Server 监视帐户”运行方式配置文件。对于默认的代理操作帐户不是管理员帐户的系统,必须相应地配置“SQL Server 监视帐户”运行方式配置文件,以确保收集此性能数据。
请注意,所有版本的 SQL Server Express 均不支持 SQL Server Analysis Services Windows 服务。
名称 | 说明 | 默认值 |
已启用 | 启用或禁用工作流。 | 是 |
频率(秒) | 要运行工作流的重复时间间隔(秒)。 | 900 |
Target | Microsoft.SQLServer.2012.AnalysisServices |
Category | PerformanceCollection |
Enabled | True |
Instance Name | $Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/PerformanceCounterObject$:Connection |
Counter Name | Current connections |
Frequency | 900 |
Alert Generate | False |
Remotable | True |
Comment | Mom2012ID='{51C1FE08-9E7C-454A-AFF0-C0927C522020}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74} |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
_26538F5A_12EC_4481_BCA1_3013FC11A243_ | DataSource | System.Performance.DataProvider | Microsoft.SQLServer.SQLProbeAccount |
PerfMapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
CollectPerfData | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
CollectPerfDataWarehouse | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2012._MSAS11_Connection_Current_connections_15.0_minutes_5_Rule" Target="SQL2012Core!Microsoft.SQLServer.2012.AnalysisServices" Enabled="true" ConfirmDelivery="false" Comment="Mom2012ID='{51C1FE08-9E7C-454A-AFF0-C0927C522020}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="_26538F5A_12EC_4481_BCA1_3013FC11A243_" Comment="{26538F5A-12EC-4481-BCA1-3013FC11A243}" TypeID="SystemPerf!System.Performance.DataProvider" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Current connections</CounterName>
<ObjectName>$Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/PerformanceCounterObject$:Connection</ObjectName>
<Frequency>900</Frequency>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL Analysis Services:Connection</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName>$Data/InstanceName$</InstanceName>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectPerfData" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectPerfDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>