Typ monitora pojedynczych zakresów serwera DHCP systemu Windows Server 2012 ze stronicowaniem

Microsoft.Windows.DHCPServer.2012.IndScopeStats.MonitorType (UnitMonitorType)

Typ monitora pojedynczych zakresów serwera DHCP systemu Windows Server 2012

Knowledge Base article:

Podsumowanie

Ten typ monitora umożliwia sprawdzanie statystyk zakresów według podanych parametrów stronicowania w systemie Windows Server 2012 z włączoną funkcją DHCP.

Konfiguracja

Interwał w sekundach: określa, jak często (co ile sekund) ta wartość powinna być sprawdzana.

Godzina synchronizacji: godzina synchronizacji na potrzeby wykonywania modułu.

Limit czasu w sekundach: określa, jak długo (w sekundach) należy oczekiwać na zakończenie wykonywania modułu.

Wiersz początkowy: określa, jak długo (w sekundach) należy oczekiwać na zakończenie wykonywania modułu.

Wiersz końcowy: określa, jak długo (w sekundach) należy oczekiwać na zakończenie wykonywania modułu.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

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

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
NumSamplesint$Config/NumSamples$Liczba próbekLiczba próbek, które mają być używane w obliczeniach dotyczących kondycji.
WarningThresholddouble$Config/WarningThreshold$Próg ostrzeżeniaPróg, po przekroczeniu którego monitor zmieni stan na Ostrzeżenie.
ErrorThresholddouble$Config/ErrorThreshold$Próg błęduPróg, po przekroczeniu którego monitor zmieni stan na Błąd.
IntervalSecondsint$Config/IntervalSeconds$Interwał w sekundachJak często (co ile sekund) wartość ma być próbkowana.
SyncTimestring$Config/SyncTime$Godzina synchronizacjiGodzina synchronizacji na potrzeby wykonywania modułu.
TimeoutSecondsint$Config/TimeoutSeconds$Limit czasu w sekundachOczekiwany czas (w sekundach), przez jaki moduł czeka na zakończenie wykonywania.
InitialRowint$Config/InitialRow$Wiersz początkowyTo jest początkowy wiersz, który ma zostać zwrócony podczas odnajdywania.
FinalRowint$Config/FinalRow$Wiersz końcowyTo jest końcowy wiersz, który ma zostać zwrócony podczas odnajdywania.

Source Code:

<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>