Windows 群集对象状态监视器

Microsoft.Windows.Cluster.CheckState (UnitMonitorType)

监视群集对象的状态。

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Cluster.WmiEventProvider Default
Probe ProbeAction Microsoft.Windows.Cluster.WmiTriggerProbe Default
ObjectNotOnline ConditionDetection System.ExpressionFilter Default
ObjectNotOnlineOnDemand ConditionDetection System.ExpressionFilter Default
ObjectOnline ConditionDetection System.ExpressionFilter Default
ObjectOnlineOnDemand ConditionDetection System.ExpressionFilter Default
ObjectPartial ConditionDetection System.ExpressionFilter Default
ObjectPartialOnDemand ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
PollIntervalint$Config/PollInterval$WMI 轮询间隔表示 WMI 轮询以获取结果的频率。

Source Code:

<UnitMonitorType ID="Microsoft.Windows.Cluster.CheckState" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Online" NoDetection="false"/>
<MonitorTypeState ID="Partial" NoDetection="false"/>
<MonitorTypeState ID="NotOnline" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PollInterval" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectClass" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlineExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlineExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PartialExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PartialExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NotOnlineExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NotOnlineExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="WMIFields" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="PollInterval" Selector="$Config/PollInterval$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Cluster.WmiEventProvider">
<ClusterObjectName>$Config/ClusterObjectName$</ClusterObjectName>
<PollInterval>$Config/PollInterval$</PollInterval>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.Cluster.WmiTriggerProbe">
<ClusterObject>$Config/ClusterObjectClass$</ClusterObject>
<WhereClause>where Name="$Config/ClusterObjectName$"</WhereClause>
<WMIFields>$Config/WMIFields$</WMIFields>
</ProbeAction>
<ConditionDetection ID="ObjectOnline" TypeID="System!System.ExpressionFilter">
<Expression>$Config/OnlineExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectPartial" TypeID="System!System.ExpressionFilter">
<Expression>$Config/PartialExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectNotOnline" TypeID="System!System.ExpressionFilter">
<Expression>$Config/NotOnlineExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectOnlineOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/OnlineExpressionOnDemand$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectPartialOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/PartialExpressionOnDemand$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectNotOnlineOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/NotOnlineExpressionOnDemand$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Online">
<Node ID="ObjectOnline">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Partial">
<Node ID="ObjectPartial">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotOnline">
<Node ID="ObjectNotOnline">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Online">
<Node ID="ObjectOnlineOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Partial">
<Node ID="ObjectPartialOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="NotOnline">
<Node ID="ObjectNotOnlineOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>