DHCP Server 2012 IPV6 個別領域可用位址監視

Microsoft.Windows.DHCPServer.2012.IndScope.IPV6.FreeScopeAddresses.Quantity.Monitor (UnitMonitor)

當指定之 IPV6 領域的可用位址數目低於定義的閾值時,此監視會發出警示

Knowledge Base article:

摘要

Microsoft Windows Server DHCP 2012 IPV6 個別領域監視,它會傳回屬性包,其中包含指定之領域中的可用位址數目。

此計數器的範圍限定為數十億個地址

這些是可視需要覆寫的參數:

原因

檢查可用的領域位址。

解決方式

如果 DHCP Server 2012 沒有 IP 位址可以提供給其用戶端,則用戶端可能無法取得新指派的 IP。當發生這種情況時,請考慮採用下列可能的解決方式:

擴充 DHCP 領域

如果您已經有 DHCP 領域,而 [開始位址] 和 [結束位址] 目前不包括特定子網路的所有位址,您可以擴充領域內容中的 [開始位址] 或 [結束位址],以增加領域中的位址數目。

若要增加用戶端可用的位址數目:

縮短租用期間

若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。

若要縮短租用期間:

縮減清除間隔

若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。

若要使用 Netsh 命令設定清除間隔時間:

範例

在下列範例中,此命令會將資料庫清除間隔設定為 10,080 分鐘 (每七天)。

netsh dhcp set databasecleanupinterval 10080

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.IPv6Scope
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.2012.IndScopeStats.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP Server 2012 IPV6 領域的可用位址不足
指定之 IPV6 領域的可用位址數目低於伺服器 {0} 中定義的閾值
RunAsSystem.PrivilegedMonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.2012.IndScope.IPV6.FreeScopeAddresses.Quantity.Monitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DHCPServer.2012.IPv6Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.2012.IndScopeStats.MonitorType" ConfirmDelivery="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.2012.Scope.IPV6.FreeScopeAddresses.Quantity.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>IPV6Scope-AddressesAvailable-ScaledByBillion</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<NumSamples>3</NumSamples>
<WarningThreshold>50</WarningThreshold>
<ErrorThreshold>10</ErrorThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<InitialRow>0</InitialRow>
<FinalRow>0</FinalRow>
</Configuration>
</UnitMonitor>