收集 DHCP 伺服器 2016 和 1709+ 超級領域可用位址

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

收集超級領域中的可用位址數目

Knowledge Base article:

摘要

此規則會收集名為「DHCP 2016 和 1709+ 伺服器群組」之 DHCP 2016 和 1709+ 伺服器群組成員中的超級領域 IPV4 可用位址,該群組包含執行 Microsoft Windows Server 2016 和 1709+ 作業系統並已啟用 DHCP 功能的伺服器執行個體。

設定

間隔 (秒):必須檢查值的頻率 (秒)。

同步時間:模組執行同步處理時間。

逾時 (秒):等待模組執行完成的時間 (秒)。

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.CollectFreeAddresses" 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>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>