Reguła generująca alert dla konfiguracji.
Konfiguracja serwera DNS zawiera ustawienia określające działanie serwera DNS w sieci oraz sposób przechowywania tych ustawień i ich pobierania, gdy są potrzebne.
Serwer DNS nie może załadować lub zainicjować biblioteki DLL dodatku plug-in.
Rozwiąż problem z dodatkiem plug-in
Dane zdarzenia to kod błędu zwrócony przy próbie załadowania lub zainicjowania biblioteki DLL dodatku plug-in. Popraw błąd dodatku plug-in lub użyj polecenia dnscmd /Config /ServerLevelPluginDLL, aby usunąć ten dodatek z konfiguracji serwera DNS.
Aby wykonać tę procedurę, należy być członkiem grupy administratorów lub posiadać odpowiednie oddelegowane uprawnienia.
Aby usunąć bibliotekę DLL dodatku plug-in:
1. Na serwerze DNS otwórz okno wiersza polecenia. Aby otworzyć okno wiersza polecenia z podwyższonym poziomem uprawnień, kliknij przycisk Start, wskaż polecenie Wszystkie programy, kliknij opcję Akcesoria, prawym przyciskiem myszy kliknij opcję Wiersz polecenia, a następnie kliknij polecenie Uruchom jako administrator.
2. Wpisz następujące polecenie, a następnie naciśnij klawisz ENTER:
dnscmd /Config /ServerLevelPluginDLL
http://technet.microsoft.com/en-us/library/dd349678(v=ws.10).aspx
Target | Microsoft.Windows.Server.DNS.Server | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | DNS Server |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.DNS.Configuration.PluginInitFailed" Enabled="true" Target="Microsoft.Windows.Server.DNS.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DNS Server</LogName>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">150</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.PluginInitFailed.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/EventSourceName$</AlertParameter2>
<AlertParameter3>$Data/Channel$</AlertParameter3>
<AlertParameter4>$Data/EventDescription$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>