DHCP スコープ アドレス使用可能モニター

Microsoft.Windows.DHCPServer.Library.Scope.UnitMonitor.ScopeAddressesAvailable (UnitMonitor)

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

Knowledge Base article:

概要

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

これらのパラメーターは必要に応じて上書きできます。

解決方法

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

DHCP スコープの拡張

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

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

リース期間の短縮

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

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

クリーンアップ間隔の短縮

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

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

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

netsh dhcp set databasecleanupinterval 10080

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.Scope
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.Library.MonitorType.ScopeSpaceAvailable
RemotableTrue
AccessibilityPublic
Alert Message
DHCP スコープ アドレス使用可能モニター
使用可能なスコープ アドレスが指定されたしきい値を下回っています。
RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.Scope.UnitMonitor.ScopeAddressesAvailable" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.Library.MonitorType.ScopeSpaceAvailable" ConfirmDelivery="false" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.Scope.UnitMonitor.ScopeAddressesAvailable_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ScopeAddressesAvailable" MonitorTypeStateID="ScopeAddressesAvailable" HealthState="Success"/>
<OperationalState ID="ScopeAddressesLow" MonitorTypeStateID="ScopeAddressesLow" HealthState="Warning"/>
<OperationalState ID="ScopeAddressesExhausted" MonitorTypeStateID="ScopeAddressesExhausted" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<TargetComputer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetComputer>
<Name>$Target/Property[Type="Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Name>
<Threshold>10</Threshold>
</Configuration>
</UnitMonitor>