Raccogli indirizzi singoli ambiti IPV4 per server DHCP 2016 e 1709+ in uso

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

Raccogli il numero di indirizzi di ambito in uso

Knowledge Base article:

Riepilogo

Questa regola del server DHCP 2016 e 1709+ consente di raccogliere gli indirizzi in uso per ogni singolo ambito IPV4.

Se è necessario, è possibile eseguire l'override dei parametri seguenti:

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>