Individuazione MBean con modulo origine dati del filtro XPath
Microsoft.JEE.Discovery.MBeansWithXPath.DataSource (DataSourceModuleType)
Modulo di origine dati che esegue l'individuazione di un MBean e un confronto delle stringhe rispetto ai dati in un contenitore delle proprietà.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.JEE.Discovery.MBeansWithXPath.DataSource" Accessibility="Public">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="Protocol" type="xsd:string"/>
<xsd:element name="Port" type="xsd:string"/>
<xsd:element name="BaseURL" type="xsd:string"/>
<xsd:element name="JMXQuery" type="xsd:string"/>
<xsd:element name="AdditionalArguments" type="xsd:string"/>
<xsd:element name="IntervalSeconds" type="xsd:integer"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element name="XPath" type="xsd:string"/>
<xsd:element name="ClassId" type="xsd:string"/>
<xsd:element name="InstanceSettings" type="SettingsType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ComputerName" ParameterType="string" Selector="$Config/ComputerName$"/>
<OverrideableParameter ID="Protocol" ParameterType="string" Selector="$Config/Protocol$"/>
<OverrideableParameter ID="Port" ParameterType="string" Selector="$Config/Port$"/>
<OverrideableParameter ID="BaseURL" ParameterType="string" Selector="$Config/BaseURL$"/>
<OverrideableParameter ID="JMXQuery" ParameterType="string" Selector="$Config/JMXQuery$"/>
<OverrideableParameter ID="AdditionalArguments" ParameterType="string" Selector="$Config/AdditionalArguments$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Schedule" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime/>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.JEE.Monitoring.UrlProbe.MBeans.ProbeAction">
<ComputerName>$Config/ComputerName$</ComputerName>
<Protocol>$Config/Protocol$</Protocol>
<Port>$Config/Port$</Port>
<BaseURL>$Config/BaseURL$</BaseURL>
<JMXQuery>$Config/JMXQuery$</JMXQuery>
<AdditionalArguments>$Config/AdditionalArguments$</AdditionalArguments>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<Exists>
<ValueExpression>
<XPathQuery Type="String">$Config/XPath$</XPathQuery>
</ValueExpression>
</Exists>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="Microsoft.JEE.ClassMapper.ConditionDetectionModuleType">
<ClassId>$Config/ClassId$</ClassId>
<InstanceSettings>$Config/InstanceSettings$</InstanceSettings>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Filter">
<Node ID="Probe">
<Node ID="Schedule"/>
</Node>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>