I recently begin to work on Netapp API to gather Performance monitoring using Perl Ontap API 3.0. I look the perf_operation.pl which is quite complete !
But, I'm looking for a script that can get Per instances performance stats, per example, let say that I would like to query avg_latency for a specific Volume. Following the documentation I should use the API perf-object-get-instances and include parameters such as this example using the Windows command line tool:
I downloaded the modified perf_operation.pl script, but it didn't quite do what I wanted. Instead of iterating through the results, I was able to filter out specific statistics and only return those. It's useful if you're coding in Perl, but I have no idea how you'd be able to wrap a command-line interface around that.
Anyway, I'm adding this comment with a link in hopes that it will help someone else.
I'm trying to poll the processor_busy counter from my NetApp simulator using perf_operation.pl. The processor_busy stat is supposed to be a percentage expressed between 0 and 100, but I'm getting a huge number, like 224962027. See listing below:
perl ./perf_operation.pl 192.168.88.131 adminuser adminpass get-counter-values processor processor0 processor_busy Instance = processor0 Counter Name = processor_busy Counter Value = 224962027
My simulator is running NetApp Release 7.3, and my perl modules are from manage-ontap-sdk-3.5.1.