DHCP サーバー 2016 以降のIPV4 個別スコープ アドレス使用可能割合モニター

Microsoft.Windows.DHCPServer.10.0.IndScope.IPV4.FreeScopeAddresses.Percentage.Monitor (UnitMonitor)

このモニターは、指定した使用可能な IPV4 スコープ アドレスの割合が定義したしきい値を下回った場合に警告します。

Knowledge Base article:

概要

Microsoft Windows Server DHCP 2016 以降の IPV4 個別スコープ監視の割合は、指定したスコープ内の空きパーセンテージの数を含むプロパティ バッグを返します。

これらのパラメーターは必要な場合に上書きすることができます。

原因

使用可能なスコープ アドレスを確認します。

解決策

DHCP サーバー 2016 以降にそのクライアントに提供できる IP アドレスがない場合、クライアントは割り当てられた新しい IP の取得に失敗します。この場合は、考えられる次の解決策を検討してください。

DHCP スコープの拡張

DHCP スコープが既にあり、現在、開始アドレスと終了アドレスの間に、特定のサブネットのすべてのアドレスが含まれているわけではない場合、スコープ プロパティの開始アドレスまたは終了アドレスを拡張してスコープ内のアドレス数を増やすことができます。

クライアントが使用できるアドレス数を増やすには、次の手順を実行します。

リース期間の短縮

これらの手順を実行するには、Administrators グループのメンバーであるか、適切な権限が委任されている必要があります。

リース期間を短縮するには、次の手順を実行します。

クリーンアップ間隔を短縮します

これらの手順を実行するには、Administrators グループのメンバーであるか、適切な権限が委任されている必要があります。

Netsh コマンドを使用してクリーンアップ間隔を設定するには、次の手順を実行します。

次の例では、このコマンドによってデータベース クリーンアップ間隔が 10,080 分 (7 日ごと) に設定されます。

netsh dhcp set databasecleanupinterval 10080

Element properties:

TargetMicrosoft.Windows.DHCPServer.10.0.IPv4Scope
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP サーバー 2016 以降の IPV4 スコープの使用可能なアドレス割合が低
指定した使用可能な IPV4 スコープ アドレスの割合が、サーバー {0} で定義されているしきい値を下回りました
RunAsSystem.PrivilegedMonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.10.0.IndScope.IPV4.FreeScopeAddresses.Percentage.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.10.0.IPv4Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType" ConfirmDelivery="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.10.0.Scope.IPV4.FreeScopeAddresses.Percentage.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ScopeAddressesAvailable" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="ScopeAddressesLow" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="ScopeAddressesVeryLow" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Scope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Scope>
<CounterName>IPV4Scope-PercentageAvailable</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<NumSamples>3</NumSamples>
<WarningThreshold>30</WarningThreshold>
<ErrorThreshold>10</ErrorThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<InitialRow>0</InitialRow>
<FinalRow>0</FinalRow>
</Configuration>
</UnitMonitor>