Övervakare av klusterobjekttillstånd i Windows

Microsoft.Windows.Cluster.CheckStatePoll (UnitMonitorType)

Övervakar tillstånd för klusterobjekt.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Cluster.WmiProvider.Object Default
Probe ProbeAction Microsoft.Windows.Cluster.WmiTriggerProbe.Object 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$Intervall för WMI-avsökningVisar hur ofta tillstånd avsöks i WMI.
SyncTimestring$Config/SyncTime$WMI-synkroniseringstidVisar WMI-synkroniseringstiden.

Source Code:

<UnitMonitorType ID="Microsoft.Windows.Cluster.CheckStatePoll" 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" minOccurs="0" name="SyncTime" type="xsd:string"/>
<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"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Cluster.WmiProvider.Object">
<ClusterObjectClass>$Config/ClusterObjectClass$</ClusterObjectClass>
<ClusterObjectName>$Config/ClusterObjectName$</ClusterObjectName>
<PollInterval>$Config/PollInterval$</PollInterval>
<WMIFields>Name, State</WMIFields>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.Cluster.WmiTriggerProbe.Object">
<ClusterObject>$Config/ClusterObjectClass$</ClusterObject>
<ClusterObjectName>$Config/ClusterObjectName$</ClusterObjectName>
<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>
</MonitorImplementation>
</UnitMonitorType>