I've installed the netapp powershell commands on the Orion server. The Netapp toolkit can be found here https://communities.netapp.com/docs/DOC-6138. I'm able to run the script below in a powershell window directly from the Orion server (replacing solarwinds variable ${IP} with actual filer name) and it runs properly.
Connect-NaController '${ip}'
$VolArray = get-navol | where {($_.name -notcontains ".snapsshot")}
foreach ($vol in $VolArray)
{
$name = $vol.Name
$percent = $vol.Used
# This is important - Solarwinds requires a "Unique identifier" for
# each value returned by a script. The line below creates an
# identifier for each result returned.
Write-Host "Statistic.$name :" $percent
}
Here is the error output in SAM
Errors: ==============================================
Connect-NaController : Failed to load ntapadmin64 DLL
At line:1 char:1
+ Connect-NaController '10.80.0.40'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (10.80.0.40:NaController) [Connect-NaController], Exception
+ FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController
get-navol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:3 char:13
+ $VolArray = get-navol | where {($_.name -notcontains ".snapsshot")}
+ ~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-NaVol], ArgumentException
+ FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol
Here are the results from PS windows on the server.
Name Address Ontapi Version
---- ------- ------ -------
aus-nas1.corp.nat... 10.80.0.40 1.19 NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012
Statistic.aus_callrec_orkaudio : 90
Statistic.aus_callrec2_orkaudio : 13
Statistic.ausshare : 84
Statistic.aususers : 62
Statistic.avaya_http_SnapMirror : 32
Statistic.Backups : 2
Statistic.callrec_orkaudio_legacy : 84
Statistic.callrecs : 89
Statistic.DeploymentShare_SM : 78
Statistic.kshare : 67
Statistic.lhlab : 1
Statistic.nycshare_SnapMirror : 86
Statistic.outrank : 71
Statistic.phx_callrec_orkaudio : 89
Statistic.prodmssql_backups : 0
Statistic.sellfire : 9
Statistic.software : 89
Statistic.vmware_nfs1 : 86
Statistic.vol0 : 4