성능 상태 모니터 유형

Microsoft.Windows.DHCPServer.Library.MonitorType.PerformanceHealth (UnitMonitorType)

Element properties:

RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Scheduler Default
Probe ProbeAction Microsoft.Windows.DHCPServer.Library.Probe.ACKsAndNAKs Default
Error ConditionDetection System.ExpressionFilter Default
Ok ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$간격(초)
SyncTimestring$Config/SyncTime$동기화 시간
TimeoutSecondsstring$Config/TimeoutSeconds$제한 시간(초)
ThresholdPercentagestring$Config/ThresholdPercentage$임계값 비율
DebugFlagbool$Config/DebugFlag$디버그 플래그

Source Code:

<UnitMonitorType ID="Microsoft.Windows.DHCPServer.Library.MonitorType.PerformanceHealth" Accessibility="Internal" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<MonitorTypeStates>
<MonitorTypeState ID="PerformanceHealthOk" NoDetection="false"/>
<MonitorTypeState ID="PerformanceHealthError" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TargetComputer" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdPercentage" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DebugFlag" type="xsd:boolean"/>
</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="string"/>
<OverrideableParameter ID="ThresholdPercentage" Selector="$Config/ThresholdPercentage$" ParameterType="string"/>
<OverrideableParameter ID="DebugFlag" Selector="$Config/DebugFlag$" ParameterType="bool"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.DHCPServer.Library.Probe.ACKsAndNAKs">
<TargetComputer>$Config/TargetComputer$</TargetComputer>
<ThresholdPercentage>$Config/ThresholdPercentage$</ThresholdPercentage>
<DebugFlag>$Config/DebugFlag$</DebugFlag>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<ConditionDetection ID="Ok" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>OK</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Error" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>ERROR</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="PerformanceHealthOk">
<Node ID="Ok">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="PerformanceHealthError">
<Node ID="Error">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="PerformanceHealthOk">
<Node ID="Ok">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="PerformanceHealthError">
<Node ID="Error">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>