このモニターは、指定したスーパースコープですべての使用可能なスコープ アドレスの合計数が、定義したしきい値を下回った場合に警告します。
Microsoft Windows Server DHCP ライブラリ スコープ監視は、指定されたスコープ/スーパースコープ内の使用可能な数を含むプロパティ バッグを返します。
これらのパラメーターは必要に応じて上書きできます。
間隔 (秒): 1 回の実行にかかる秒数の合計。
同期時刻: "hh:mm" の形式で表される実行開始時刻。
タイムアウト (秒): "タイムアウトの理由" により実行がキャンセルされるまで待機する秒数。
デバッグ フラグ: "true" または "false" を使用して、追跡の目的で Operations Manager のイベント ログにさまざまなイベントを記録します。
DHCP サーバーにそのクライアントに提供できる IP アドレスがない場合、クライアントは割り当てられた新しい IP の取得に失敗します。この場合は、考えられる次の解決策を検討してください。
スコープの拡張を使用して現在のスコープのアドレス範囲を拡張します。
リース期間とクリーンアップ間隔を短縮します。これによって、期限の切れたスコープ IP アドレスを迅速に再生できます。
DHCP スコープの拡張
DHCP スコープが既にあり、現在、開始アドレスと終了アドレスの間に、特定のサブネットのすべてのアドレスが含まれていない場合は、スコープ プロパティの開始アドレスまたは終了アドレスを拡張してスコープ内のアドレス数を増やすことができます。
クライアントが使用できるアドレス数を増やすには、次の手順を実行します。
DHCP サーバーで [スタート] ボタンをクリックし、[管理ツール] をポイントします。次に、[DHCP] をクリックします。
コンソール ツリーで、拡張するスコープを右クリックし、[プロパティ] をクリックします。
[開始 IP アドレス] と [終了 IP アドレス] を変更してスコープを拡張します。
リース期間の短縮
これらの手順を実行するには、Administrators グループのメンバーであるか、適切な権限が委任されている必要があります。
リース期間を短縮するには、次の手順を実行します。
DHCP サーバーで [スタート] ボタンをクリックし、[管理ツール] をポイントします。次に、[DHCP] をクリックします。
DCHP コンソール ツリーで、構成するスコープを右クリックし、[プロパティ] をクリックします。
[全般] タブの [DHCP クライアントのリース期間] で、新しいリース期間を入力します。
クリーンアップ間隔の短縮
これらの手順を実行するには、Administrators グループのメンバーであるか、適切な権限が委任されている必要があります。
Netsh コマンドを使用してクリーンアップ間隔を設定するには、次の手順を実行します。
DHCP サーバーで [スタート] ボタンをクリックし、[ファイル名を指定して実行] をクリックします。次に、「cmd」と入力し、Enter キーを押します。
次のように入力します。 netsh dhcp set databasecleanupinterval "NewInterval" (NewInterval は DHCP データベースのクリーンアップ間隔 (分単位) です。)
例
次の例では、このコマンドによってデータベース クリーンアップ間隔が 10,080 分 (7 日ごと) に設定されます。
netsh dhcp set databasecleanupinterval 10080
Target | Microsoft.Windows.DHCPServer.Library.Superscope | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.DHCPServer.Library.MonitorType.ScopeSpaceAvailable | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.Superscope.UnitMonitor.ScopeSpaceAvailable" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.Superscope" 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.Superscope.UnitMonitor.ScopeSpaceAvailable_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DHCPServer.Library.Superscope"]/Name$</AlertParameter1>
</AlertParameters>
</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.Superscope"]/Name$</Name>
<Threshold>10</Threshold>
</Configuration>
</UnitMonitor>