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

Microsoft.Windows.DHCPServer.10.0.SuperScope.IPV4.AddressesAvailable.Percentage.Monitor (UnitMonitor)

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

Knowledge Base article:

概要

Microsoft Windows Server DHCP 2016 以降のスーパースコープ割合監視は、指定されたスコープ内の使用可能な割合の数を含むプロパティ バッグを返します。

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

原因

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

解決策

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

DHCP スコープの拡張

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

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

リース期間の短縮

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

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

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

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

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

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

netsh dhcp set databasecleanupinterval 10080

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.10.0.SuperScope.IPV4.AddressesAvailable.Percentage.Monitor" Accessibility="Public" Enabled="true" Target="DHCP!Microsoft.Windows.DHCPServer.Library.Superscope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.10.0.SuperScopes.Utilization.MonitorType" ConfirmDelivery="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.10.0.SuperScope.IPV4.AddressesAvailable.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="SuperScopeAddressesAvailable" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="SuperScopeAddressesLow" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="SuperScopeAddressesVeryLow" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<SuperScope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Superscope"]/Name$</SuperScope>
<CounterName>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>
</Configuration>
</UnitMonitor>