UpgradeStateMonitorType

OperationsManager.Upgrade.UpgradeMonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
Timer DataSource System.Scheduler Default
Registry ProbeAction Microsoft.Windows.RegistryProbe Default
FilterFalse ConditionDetection System.ExpressionFilter Default
FilterTrue ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="OperationsManager.Upgrade.UpgradeMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Upgraded" NoDetection="false"/>
<MonitorTypeState ID="NotUpgraded" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="RegPath" type="xsd:string"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Timer" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>30</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Registry" TypeID="Windows!Microsoft.Windows.RegistryProbe">
<ComputerName/>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>RegistryKey</AttributeName>
<Path>$Config/RegPath$</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
</ProbeAction>
<ConditionDetection ID="FilterTrue" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/RegistryKey</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterFalse" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/RegistryKey</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">false</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Upgraded">
<Node ID="FilterTrue">
<Node ID="Registry">
<Node ID="Timer"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotUpgraded">
<Node ID="FilterFalse">
<Node ID="Registry">
<Node ID="Timer"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>