Collect DHCP Server 2016 and 1709+ Super Scopes Addresses In Use

Microsoft.Windows.DHCPServer.10.0.SuperScope.IPV4.CollectAddressesInUse (Rule)

Collect the number of addresses in use of the super scope

Knowledge Base article:

Summary

This Rule collects Super Scope IPV4 Addresses in Use in DHCP 2016 and 1709+ Server group members named "DHCP 2016 and 1709+ Servers Group" with instances of Server that are running a Microsoft Windows Server 2016 and 1709+ operating system and got the DHCP feature enabled.

Configuration

Interval Seconds: How frequently (in seconds) the value should be checked.

Sync Time: Synchronization time for the module execution.

Timeout Seconds: How much time (in seconds) to wait for the module to finish execution.

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.Superscope
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.DHCPServer.10.0.SuperScope.IPV4.CollectAddressesInUse" Enabled="true" Target="DHCP!Microsoft.Windows.DHCPServer.Library.Superscope" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Microsoft.Windows.DHCPServer.10.0.FilteredSuperScopeStats.DS">
<SuperScope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Superscope"]/Name$</SuperScope>
<CounterName>AddressesInUse</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>