SnapMgrExchSeedDiscovery

Bostwick.SnapManager.SnapMgrExchSeedDiscovery (Discovery)

Discovers computers running Snap Manager for Exchange

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency21600
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Bostwick.SnapManager.SnapMgrExchSeedDiscovery" Target="Windows!Microsoft.Windows.Computer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Bostwick.SnapManager.SnapMgrExchServer">
<Property TypeID="Bostwick.SnapManager.SnapMgrExchServer" PropertyID="Version"/>
<Property TypeID="Bostwick.SnapManager.SnapMgrExchServer" PropertyID="NotificationsToAddr"/>
<Property TypeID="Bostwick.SnapManager.SnapMgrExchServer" PropertyID="MountPointDirectory"/>
<Property TypeID="Bostwick.SnapManager.SnapMgrExchServer" PropertyID="NotificationsRelay"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>SnapManagerForExch</AttributeName>
<Path>Software\Network Appliance\SnapManager for Exchange</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SnapManagerForExchVer</AttributeName>
<Path>Software\Network Appliance\SnapManager for Exchange\FileVersion</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SnapManagerForExchTO</AttributeName>
<Path>Software\Network Appliance\SnapManager for Exchange\Server\NotifyTo</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SnapManagerForExchSMTP</AttributeName>
<Path>Software\Network Appliance\SnapManager for Exchange\Server\NotifySmtpServer</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SnapManagerForExchMTPT</AttributeName>
<Path>Software\Network Appliance\SnapManager for Exchange\Server\MountPointDir</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ExchServerHost</AttributeName>
<Path>system\currentcontrolset\control\computername\activecomputername\computername</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>21600</Frequency>
<ClassId>$MPElement[Name="Bostwick.SnapManager.SnapMgrExchServer"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</Setting>
<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="Bostwick.SnapManager.SnapMgrExchServer"]/Version$</Name>
<Value>$Data/Values/SnapManagerForExchVer$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Bostwick.SnapManager.SnapMgrExchServer"]/NotificationsToAddr$</Name>
<Value>$Data/Values/SnapManagerForExchTO$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Bostwick.SnapManager.SnapMgrExchServer"]/NotificationsRelay$</Name>
<Value>$Data/Values/SnapManagerForExchSMTP$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Bostwick.SnapManager.SnapMgrExchServer"]/MountPointDirectory$</Name>
<Value>$Data/Values/SnapManagerForExchMTPT$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/SnapManagerForExch</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/ExchServerHost</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</Discovery>