Collect the Windows performance counter for the number of iSCSI target sessions
This rule collects performance data for the number of sessions currently connected to the iSCSI Target service. This is a standard Windows performance collection rule and uses optimized performance collection to reduce the number of data points collected and stored. The rule writes to both the data base and data warehouse.
This rule is disabled by default after you install the management pack. To enable the rule add an override by following the steps in the Windows Server management pack guide that accompanies this MP.
Target | Microsoft.Windows.FileServices.Service.iSCSITarget.10.0 |
Category | PerformanceCollection |
Enabled | False |
Instance Name | iSCSI Target |
Counter Name | # Sessions |
Frequency | 900 |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | System.Performance.OptimizedDataProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.FileServices.Service.iSCSITarget.10.0.CollectSessionsCounter" Enabled="false" Target="Microsoft.Windows.FileServices.Service.iSCSITarget.10.0" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName># Sessions</CounterName>
<ObjectName>iSCSI Target</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>2</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>