Discovery Rule to Discover SnapMirror Properties

NetApp.Management.Pack.Discovery.NetApp.SnapMirror.properties (Discovery)

This rule is used to discover the Index number of a SnapMirror, it uses the DataSource: NetApp.Management.Pack.DataSource.Discovery.SnapMirror.Properties
Default Interval is set to 4 hours or 14400 seconds.

Element properties:

TargetNetApp.Management.Pack.Class.NetApp.SnapMirror
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
Snapmirprop DataSource NetApp.Management.Pack.DataSource.Discovery.SnapMirror.Properties Default

Source Code:

<Discovery ID="NetApp.Management.Pack.Discovery.NetApp.SnapMirror.properties" Enabled="true" Target="NetApp.Management.Pack.Class.NetApp.SnapMirror" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="NetApp.Management.Pack.Class.NetApp.SnapMirror"/>
</DiscoveryTypes>
<DataSource ID="Snapmirprop" TypeID="NetApp.Management.Pack.DataSource.Discovery.SnapMirror.Properties">
<Interval>14400</Interval>
<IPAddress>$Target/Host/Host/Property[Type="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</IPAddress>
<DisplayName>$Target/Property[Type="System!System.Entity"]/DisplayName$</DisplayName>
<ClassID>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.SnapMirror"]$</ClassID>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</Name>
<Value>$Target/Host/Host/Property[Type="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="System!System.Entity"]/DisplayName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.SnapMirror"]/SnapMirrorDest$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[1]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.SnapMirror"]/SnapMirrorName$</Name>
<Value>$Target/Property[Type="NetApp.Management.Pack.Class.NetApp.SnapMirror"]/SnapMirrorName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.ContainmentClass.Snapmirrors"]/Name$</Name>
<Value>SnapMirrors</Value>
</Setting>
</Settings>
</InstanceSettings>
<CommStr>$Target/Host/Host/Property[Type="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/CommunityString$</CommStr>
<Index>$Target/Property[Type="NetApp.Management.Pack.Class.NetApp.SnapMirror"]/Index$</Index>
</DataSource>
</Discovery>