Discovery Rule to Discover FSIndex of a Volume

NetApp.Management.Pack.Discovery.Volume.FSIndex (Discovery)

This rule is used to discover the Index numbers for Filesystem and SnapMirror. It uses the DataSource: NetApp.Management.Pack.DataSource.Discovery.FSIndex
With the Index numbers we are able to monitor and collect data on disk sizes.
Default Interval is set to 4 hours or 14400 seconds.

Element properties:

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

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
FSIndexVolume DataSource NetApp.Management.Pack.DataSource.Discovery.FSIndex Default

Source Code:

<Discovery ID="NetApp.Management.Pack.Discovery.Volume.FSIndex" Enabled="true" Target="NetApp.Management.Pack.Class.NetApp.Volume" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="NetApp.Management.Pack.Class.NetApp.Volume"/>
</DiscoveryTypes>
<DataSource ID="FSIndexVolume" TypeID="NetApp.Management.Pack.DataSource.Discovery.FSIndex">
<Interval>14400</Interval>
<IPAddress>$Target/Host/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.Volume"]$</ClassID>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</Name>
<Value>$Target/Host/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.Volume"]/FSIndex$</Name>
<Value>$Data/Property[@Name='FSIndex']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.Volume"]/SNIndex$</Name>
<Value>$Data/Property[@Name='SNIndex']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.Volume"]/VolName$</Name>
<Value>$Target/Property[Type="NetApp.Management.Pack.Class.NetApp.Volume"]/VolName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.Class.NetApp.Aggregate"]/AggrName$</Name>
<Value>$Target/Host/Property[Type="NetApp.Management.Pack.Class.NetApp.Aggregate"]/AggrName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetApp.Management.Pack.ContainmentClass.Aggregates"]/Name$</Name>
<Value>Aggregates</Value>
</Setting>
</Settings>
</InstanceSettings>
<ObjectName>/vol/$Target/Property[Type="NetApp.Management.Pack.Class.NetApp.Volume"]/VolName$/</ObjectName>
<CommStr>$Target/Host/Host/Host/Property[Type="MicrosoftSystemCenterNetworkDeviceLibrary!Microsoft.SystemCenter.NetworkDevice"]/CommunityString$</CommStr>
</DataSource>
</Discovery>