DHCP 用于 IPv4 运行时租约发布的监视器

Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.LeaseIssuance (UnitMonitor)

Knowledge Base article:

解决方案

此状况应该会自行解决,但如果此状况持续存在,您可以在 DHCP 服务器上重新配置保留或排除范围。

重新配置客户端保留

客户端保留允许您保留一个 IP 地址以供 DHCP 客户端永久使用。通常,如果客户端的 IP 地址是使用 TCP/IP 配置的另一种方法分配的,则将使用保留。

无法修改保留 IP 地址。如果要更改保留 IP 地址,请删除保留,然后使用新的 IP 地址重新创建保留。

若要执行这些过程,您必须是管理员组的成员,或者您必须被委派了适当的权限。

若要删除保留并使用新的 IP 地址重新创建保留,请执行以下操作:

重新配置排除范围

若要执行这些过程,您必须是管理员组的成员,或者您必须被委派了适当的权限。

为了防止地址发生冲突,您定义的作用域必须排除静态配置的设备(如 DHCP 服务器)的 IP 地址。通过设置排除范围,管理员可以在作用域中设置一个排除的 IP 地址范围,使这些地址不会提供给 DHCP 客户端。在创建新作用域时,请立即排除现有的静态配置的计算机的 IP 地址。仅在将排除的 IP 地址手动配置为保留的 IP 地址或作为保留的 IP 地址分配时,这些 IP 地址才能在网络上处于活动状态:

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.IPv4Runtime
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP 有关租约发布的警报
{0}
RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.LeaseIssuance" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.LeaseIssuance_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1029</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>