Это правило проверяет наличие событий предупреждений, связанных с проблемами регистрации DNS.
Для выполнения этих процедур пользователь должен быть членом группы "Администраторы" или ему должны быть делегированы соответствующие полномочия.
В службе DHCP-сервера можно настроить олицетворение учетной записи для выполнения DNS-регистраций. Для настройки олицетворяемых учетных данных можно использовать программу Netsh.exe.
Нажмите кнопку "Пуск", выберите пункт "Панель управления", затем щелкните значок "Учетные записи пользователей".
Щелкните "Управление учетными записями пользователей".
Нажмите кнопку "Добавить" и следуйте инструкциям по созданию новой учетной записи пользователя.
Нажмите кнопку "Пуск", введите в поле поиска "cmd" и нажмите клавишу ВВОД.
В командной строке введите "netsh dhcp server set dnscredentials username domainname password" , где "username" - новая учетная запись, созданная на предыдущем шаге, и нажмите клавишу ВВОД.
На компьютере, который является DHCP-сервером, нажмите кнопку "Пуск", выберите пункт "Выполнить", введите "services.msc" и нажмите кнопку "ОК".
Дважды щелкните "DHCP-сервер".
Нажмите кнопку "Остановить", подождите, пока индикатор выполнения дойдет до конца, нажмите кнопку "Запустить", подождите, пока индикатор выполнения дойдет до конца, и нажмите кнопку "ОК".
В меню "Файл" выберите пункт "Выход".
Введите "netsh dhcp server delete dnscredentials dhcpfullforce" и нажмите клавишу ВВОД.
На компьютере, который является DHCP-сервером, нажмите кнопку "Пуск", выберите пункт "Выполнить", введите "services.msc" и нажмите кнопку "ОК".
Дважды щелкните "DHCP-сервер".
Нажмите кнопку "Запустить", подождите, пока индикатор выполнения дойдет до конца, и нажмите кнопку "ОК".
В меню "Файл" выберите пункт "Выход".
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Microsoft.Windows.DHCPServer.Library.ActionAccount |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.DNSRegistration.Warning.Rule" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1055</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1056</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.DNSRegistration_AlertMessageResourceID"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>