DHCP Server 2012 個別領域監視類型
此監視類型會在已啟用 DHCP 功能的 Windows Server 2012 中按指定分頁參數檢查領域統計資料。
間隔秒數:值的檢查頻率 (以秒為單位)。
同步處理時間:模組執行同步處理時間。
逾時秒數:模組等待完成執行的時間長度 (以秒為單位)。
初始列:模組等待完成執行的時間長度 (以秒為單位)。
最終列:模組等待完成執行的時間長度 (以秒為單位)。
RunAs | Default |
Accessibility | Public |
Support Monitor Recalculate | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.DHCPServer.2012.FilteredIndScopeStats.DS | Default |
ErrorCD | ConditionDetection | System.ExpressionFilter | Default |
HealthyCD | ConditionDetection | System.ExpressionFilter | Default |
SamplesCD | ConditionDetection | System.Performance.ConsecutiveSamplesCondition | Default |
SamplesCounter | ConditionDetection | System.ExpressionFilter | Default |
WarningCD | ConditionDetection | System.ExpressionFilter | Default |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
NumSamples | int | $Config/NumSamples$ | 範例數 | 用於計算健全狀況的範例數。 |
WarningThreshold | double | $Config/WarningThreshold$ | 警告閾值 | 使監視變更為警告狀態的閾值。 |
ErrorThreshold | double | $Config/ErrorThreshold$ | 錯誤閾值 | 使監視變更為錯誤狀態的閾值。 |
IntervalSeconds | int | $Config/IntervalSeconds$ | 間隔秒數 | 值的取樣頻率 (以秒為單位)。 |
SyncTime | string | $Config/SyncTime$ | 同步處理時間 | 模組執行同步處理時間。 |
TimeoutSeconds | int | $Config/TimeoutSeconds$ | 逾時秒數 | 模組等待完成執行的預期時間 (以秒為單位)。 |
InitialRow | int | $Config/InitialRow$ | 初始列 | 這是要在探索中傳回的初始列。 |
FinalRow | int | $Config/FinalRow$ | 最終列 | 這是要在探索中傳回的最終列。 |
<UnitMonitorType ID="Microsoft.Windows.DHCPServer.2012.IndScopeStats.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Warning" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="Scope" type="xsd:string"/>
<xsd:element minOccurs="1" name="CounterName" type="xsd:string"/>
<xsd:element minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element minOccurs="1" name="NumSamples" type="xsd:double"/>
<xsd:element minOccurs="1" name="WarningThreshold" type="xsd:double"/>
<xsd:element minOccurs="1" name="ErrorThreshold" type="xsd:double"/>
<xsd:element minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="0" name="SyncTime" type="xsd:string"/>
<xsd:element minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element minOccurs="0" name="InitialRow" type="xsd:integer"/>
<xsd:element minOccurs="0" name="FinalRow" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="NumSamples" Selector="$Config/NumSamples$" ParameterType="int"/>
<OverrideableParameter ID="WarningThreshold" Selector="$Config/WarningThreshold$" ParameterType="double"/>
<OverrideableParameter ID="ErrorThreshold" Selector="$Config/ErrorThreshold$" ParameterType="double"/>
<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>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.DHCPServer.2012.FilteredIndScopeStats.DS">
<Scope>$Config/Scope$</Scope>
<CounterName>$Config/CounterName$</CounterName>
<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="SamplesCD" TypeID="Performance!System.Performance.ConsecutiveSamplesCondition">
<Threshold>0</Threshold>
<Direction>greater</Direction>
</ConditionDetection>
<ConditionDetection ID="SamplesCounter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Integer">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="HealthyCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="WarningCD" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/ErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="HealthyCD">
<Node ID="SamplesCD">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Warning">
<Node ID="WarningCD">
<Node ID="SamplesCounter">
<Node ID="SamplesCD">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="ErrorCD">
<Node ID="SamplesCounter">
<Node ID="SamplesCD">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>