Application Performance Monitoring Agent found Monitor Type

AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost.MonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
RegistryProbe ProbeAction Microsoft.Windows.RegistryProbe Default
IsInvalidHost ConditionDetection System.ExpressionFilter Default
IsValidHost ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Frequencyint$Config/Frequency$Frequency (sec)

Source Code:

<UnitMonitorType ID="AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost.MonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ValidHost"/>
<MonitorTypeState ID="InvalidHost"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="Frequency" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Frequency" ParameterType="int" Selector="$Config/Frequency$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="System!System.Scheduler" ID="Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/Frequency$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction TypeID="Windows!Microsoft.Windows.RegistryProbe" ID="RegistryProbe">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>DOTNETInterceptInstallPath</AttributeName>
<Path>SOFTWARE\Microsoft\System Center Operations Manager\12\APMAgent\InstallPath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
</ProbeAction>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="IsValidHost">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/DOTNETInterceptInstallPath</XPathQuery>
</ValueExpression>
<Operator>DoesNotMatchRegularExpression</Operator>
<Pattern>.+</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="IsInvalidHost">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/DOTNETInterceptInstallPath</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>.+</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="InvalidHost">
<Node ID="IsInvalidHost">
<Node ID="RegistryProbe">
<Node ID="Scheduler"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ValidHost">
<Node ID="IsValidHost">
<Node ID="RegistryProbe">
<Node ID="Scheduler"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>