Samla in lediga superscopeadresser för DHCP Server 2012 R2

Microsoft.Windows.DHCPServer.2012.R2.SuperScope.IPV4.CollectFreeAddresses (Rule)

Samla in antalet lediga adresser i superscope

Knowledge Base article:

Sammanfattning

Den här regeln kontrollerar lediga adresser för superscope IPV4 i DHCP 2012 R2 Server-gruppsmedlemmar "DHCP 2012 R2 Servers-grupp" med förekomster av server som kör ett Microsoft Windows Server 2012-operativsystem och där DHCP-funktionen är aktiverad.

Konfiguration

Intervall Sekunder: Hur ofta (i sekunder) bör värdet kontrolleras.

Synkroniseringstid: Synkroniseringstiden för körning av modulen.

Timeout Sekunder: Hur lång tid det tar (i sekunder) för att modulen ska avsluta sin körning.

Element properties:

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

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.DHCPServer.2012.R2.SuperScope.IPV4.CollectFreeAddresses" Enabled="false" 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.2012.R2.FilteredSuperScopeStats.DS">
<SuperScope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Superscope"]/Name$</SuperScope>
<CounterName>AddressesAvailable</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>