Collect DHCP Server 2012 IPV6 Individual Scopes Free Addresses

Microsoft.Windows.DHCPServer.2012.Scope.IPV6.CollectIndividualFreeScopeAddresses (Rule)

Collect the number of free addresses in the scope

Knowledge Base article:

Summary

This DHCP Server 2012 rule collects Free Addresses per IPV6 Individual Scope.

This counter is scaled to Billion Addresses

These are the parameters to override it, if need it:

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.IPv6Scope
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.DHCPServer.2012.FilteredIndScopeStats.DS System.PrivilegedMonitoringAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.DHCPServer.2012.Scope.IPV6.CollectIndividualFreeScopeAddresses" Enabled="true" Target="Microsoft.Windows.DHCPServer.2012.IPv6Scope" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Microsoft.Windows.DHCPServer.2012.FilteredIndScopeStats.DS">
<Scope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Scope>
<CounterName>IPV6Scope-AddressesAvailable-ScaledByBillion</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<InitialRow>0</InitialRow>
<FinalRow>0</FinalRow>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>