MSSQL: 泛型监视池警报集合发现数据源
Microsoft.SQLServer.Core.DataSource.MonitoringPoolAlertCollectionDiscovery (DataSourceModuleType)
泛型监视池警报集合发现数据源。
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.SQLServer.Core.DataSource.MonitoringPoolAlertCollectionDiscovery" Accessibility="Public" RunAs="Microsoft.SQLServer.Core.RunAs.Discovery">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitoringPoolAlertCollectionClassId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DisplayName" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SQLServer.Core.ProbeAction.MonitoringPoolAlertCollectionDiscovery">
<MonitoringPoolAlertCollectionClassId>$Config/MonitoringPoolAlertCollectionClassId$</MonitoringPoolAlertCollectionClassId>
<SQLMonitoringPoolClassId>$MPElement[Name='Microsoft.SQLServer.Core.SQLMonitoringPool']$</SQLMonitoringPoolClassId>
<WindowsComputerClassId>$MPElement[Name='Windows!Microsoft.Windows.Computer']$</WindowsComputerClassId>
<ManagementServicePoolContainsManagementServiceRelationshipId>$MPElement[Name='SC!Microsoft.SystemCenter.ManagementServicePoolContainsManagementService']$</ManagementServicePoolContainsManagementServiceRelationshipId>
<ManagementActionPointManagesEntityRelationshipId>$MPElement[Name='SC!Microsoft.SystemCenter.ManagementActionPointManagesEntity']$</ManagementActionPointManagesEntityRelationshipId>
<DisplayName>$Config/DisplayName$</DisplayName>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<Publisher>SQLGeneric</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>