Övervakartyp för 32-bitars agent på 64-bitars operativsystem
Microsoft.SystemCenter.Agent.Configuration.ArchitectureMismatchMonitorType (UnitMonitorType)
Den här övervakartypen kontrollerar om 32-bitarsagenten har installerats på ett 64-bitars operativsystem.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.SystemCenter.Agent.Configuration.ArchitectureMismatchMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ArchitectureMatch" NoDetection="false"/>
<MonitorTypeState ID="ArchitectureMismatch" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" maxOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="SchedulerDS" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Agent32On64Probe" TypeID="Windows!Microsoft.Windows.RegistryProbe">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>SCOMSetup</AttributeName>
<Path>SOFTWARE\Wow6432Node\Microsoft\Microsoft Operations Manager\3.0\Setup</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
</ProbeAction>
<ProbeAction ID="PassThrough" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="Agent32On64Present" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">//DataItem/Values/SCOMSetup</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Agent32On64Absent" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">//DataItem/Values/SCOMSetup</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">false</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ArchitectureMismatch">
<Node ID="Agent32On64Present">
<Node ID="Agent32On64Probe">
<Node ID="SchedulerDS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ArchitectureMatch">
<Node ID="Agent32On64Absent">
<Node ID="Agent32On64Probe">
<Node ID="SchedulerDS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="ArchitectureMatch">
<Node ID="Agent32On64Absent">
<Node ID="Agent32On64Probe">
<Node ID="PassThrough"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="ArchitectureMismatch">
<Node ID="Agent32On64Present">
<Node ID="Agent32On64Probe">
<Node ID="PassThrough"/>
</Node>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>