DHCP Server 2012 IPV6 Individual Scope Addresses Available Percentage Monitor

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

This monitor alerts when the percentage of free addresses for the specified IPV6 scope fall below the defined threshold

Knowledge Base article:

Summary

Microsoft Windows Server DHCP 2012 Percentage IPV6 Individual Scope Monitoring, returns a property bag containing the number of free percentage in the specified scope.

These are the parameters that we could override, if need it:

Causes

Check available scope addresses.

Resolutions

If the DHCP server 2012 does not have IP addresses available to provide to its clients, they could fail to obtain new assigned IPs. When this occurs, consider the following possible solutions:

Extend the DHCP scope

If you already have a DHCP scope and the Start Address and End Address do not currently include all addresses for your specific subnet, you can increase the number of addresses in the scope by extending the Start Address or End Address in the scope properties.

To increase the number of addresses available to clients:

Reduce the lease duration

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To reduce the lease duration:

Decrease the cleanup interval

To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To use a Netsh command to set the cleanup interval time:

Example

In the following example, this command sets the database cleanup interval to 10,080 minutes (every seven days).

netsh dhcp set databasecleanupinterval 10080

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.IPv6Scope
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.2012.IndScopeStats.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP Server 2012 IPV6 Scope Percentage of Available Addresses are Low
The percentage of free addresses for the specified IPV6 scope fall below the defined threshold in Server {0}
RunAsSystem.PrivilegedMonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.2012.IndScope.IPV6.FreeScopeAddresses.Percentage.Monitor" Accessibility="Public" Enabled="true" 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.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>IPV6Scope-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>