Модуль отфильтрованного источника данных отдельных областей DHCP-сервера 2016 версии 1709 и более поздних версий с подкачкой

Microsoft.Windows.DHCPServer.10.0.FilteredIndScopeStats.DS (DataSourceModuleType)

Модуль отфильтрованного источника данных отдельных областей DHCP-сервера 2016 версии 1709 и более поздних версий

Knowledge Base article:

Сводка

Этот модуль источника данных получает статистику области, отфильтрованную по указанным параметрам подкачки в Windows Server 2016 версии 1709 и более поздних версий, где включена функция DHCP.

Конфигурация

Интервал (в секундах): частота (в секундах) проверки значения.

Время синхронизации: Время синхронизации для выполнения модуля.

Время ожидания (в секундах): Время ожидания модулем (в секундах) завершения выполнения.

Начальная строка: Время ожидания модулем (в секундах) завершения выполнения.

Конечная строка: Время ожидания модулем (в секундах) завершения выполнения.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.DHCPServer.10.0.IndScopeStats.DS Default
InstanceFilter ConditionDetection System.ExpressionFilter Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Интервал (с)Как часто (в секундах) значение должно добавляться в выборку.
SyncTimestring$Config/SyncTime$Время синхронизацииВремя синхронизации для выполнения модуля.
TimeoutSecondsint$Config/TimeoutSeconds$Время ожидания (с)Ожидаемое время (в секундах), в течение которого модуль ожидает завершения выполнения.
InitialRowint$Config/InitialRow$Начальная строкаэто начальная строка, возвращаемая при обнаружении.
FinalRowint$Config/FinalRow$Конечная строкаЭто конечная строка, возвращаемая при обнаружении.

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.DHCPServer.10.0.FilteredIndScopeStats.DS" Accessibility="Public" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Scope" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CounterName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="InitialRow" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="FinalRow" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="InitialRow" Selector="$Config/InitialRow$" ParameterType="int"/>
<OverrideableParameter ID="FinalRow" Selector="$Config/FinalRow$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.DHCPServer.10.0.IndScopeStats.DS">
<ComputerName>$Config/ComputerName$</ComputerName>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<InitialRow>$Config/InitialRow$</InitialRow>
<FinalRow>$Config/FinalRow$</FinalRow>
</DataSource>
<ConditionDetection ID="PerfMapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>Scopes</ObjectName>
<CounterName>$Data/Property[@Name='PerfCounter']$</CounterName>
<InstanceName>$Data/Property[@Name='PerfInstance']$</InstanceName>
<Value>$Data/Property[@Name='PerfValue']$</Value>
</ConditionDetection>
<ConditionDetection ID="InstanceFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='PerfCounter']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CounterName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='PerfInstance']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/Scope$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="PerfMapper">
<Node ID="InstanceFilter">
<Node ID="DS"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Performance!System.Performance.Data</OutputType>
</DataSourceModuleType>