MSMQ Seed Discovery
MSMQ.Seed.Discovery (Discovery)
This discovery will find all Servers with the MSMQ feature installed via WMI query
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="MSMQ.Seed.Discovery" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="MSMQ.Seed">
<Property PropertyID="IsVirtualNode"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>root\cimv2</NameSpace>
<Query>SELECT Name FROM Win32_ServerFeature WHERE ID = 49</Query>
<Frequency>86397</Frequency>
<ClassId>$MPElement[Name="MSMQ.Seed"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="MSMQ.Seed"]/IsVirtualNode$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>