Send Instancespace to the Cloud

Microsoft.SystemCenter.CollectInstanceSpace (Rule)

System rule that sends instancespace up to the cloud.

Element properties:

TargetMicrosoft.SystemCenter.AllManagementServersPool
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue
Commentthis rule collects instance space from OPSDB

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Mom.InstanceSubscriptionDataSourceModule Default
NoOpWA WriteAction NoOp Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CollectInstanceSpace" Comment="this rule collects instance space from OPSDB" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="90">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Mom.InstanceSubscriptionDataSourceModule">
<Certificate>$RunAs[Name="Advisor!Microsoft.SystemCenter.Advisor.RunAsProfile.Certificate"]/Data$</Certificate>
<CompressionEnabled>1</CompressionEnabled>
<EndpointUrl>https://odstest001.cloudapp.net/InstanceSpaceDataService.svc/PostDataItems</EndpointUrl>
<InstanceId>$Target/Id$</InstanceId>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<OperationTimeoutInMS>3600000</OperationTimeoutInMS>
<PollingIntervalInMS>15000</PollingIntervalInMS>
<PostBatchSizeInBytes>3145728</PostBatchSizeInBytes>
<PostRetryWindowInMinutes>10</PostRetryWindowInMinutes>
<PostTimeoutInMS>30000</PostTimeoutInMS>
<QueryBatchSize>1000</QueryBatchSize>
<QueryBackOffInMS>1000</QueryBackOffInMS>
<QueryNumberOfRetries>100</QueryNumberOfRetries>
<QueryTimeoutInMS>30000</QueryTimeoutInMS>
<RuleId>$MPElement$</RuleId>
<RuleName>$MPElement/Name$</RuleName>
<SnapshotHour>0</SnapshotHour>
<SnapshotRefreshRateInHours>24</SnapshotRefreshRateInHours>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="NoOpWA" TypeID="NoOp"/>
</WriteActions>
</Rule>