DHCP Server 2016 és 1709+ – egyedi IPV4-hatókörök használatban lévő címeinek gyűjtése

Microsoft.Windows.DHCPServer.10.0.Scope.IPV4.CollectIndividualScopeAddressesInUse (Rule)

A használatban lévő hatókörcímek összeszámlálása

Knowledge Base article:

Összefoglalás

Ez a DHCP Server 2016 és 1709+-szabály egyedi IPV4-hatókörönként gyűjti a használatban lévő IP-címeket.

Ha szükséges, az alábbi paramétereket lehet felülbírálni:

Element properties:

TargetMicrosoft.Windows.DHCPServer.10.0.IPv4Scope
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.DHCPServer.10.0.FilteredIndScopeStats.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.Scope.IPV4.CollectIndividualScopeAddressesInUse" Enabled="true" Target="Microsoft.Windows.DHCPServer.10.0.IPv4Scope" 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.FilteredIndScopeStats.DS">
<Scope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Scope>
<CounterName>IPV4Scope-AddressesInUse</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>