I agree with Blake, in addition you can dump these stats to a csv file and import them to what ever you need. We do have Cacti set up here using the SDK to query the filer for performance statistics but it's writes a load of data to our debug logs - pretty much making them useless for troubleshooting.
Does give pretty utilization graphs though.
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Blake Golliher Sent: Wednesday, November 17, 2010 2:32 PM To: Davies, Matt Cc: toasters@mathworks.com Subject: Re: Measuring IOPS
If you have a local account (or a readonly account, or a or something with a role that allows ssh access) you can drop a key on the filer, and use key based authentication on the filer. Then all kinds of things are possible to capture via simple shell scripting.
[bgolliher@whatever:~] $ ssh toastpower stats show -i 1 -n 10 -e system:system:ops Instance nfs_ops cifs_ops http_ops fcp_ops iscsi_ops read_ops write_ops /s /s /s /s /s /s /s system 695 0 0 0 0 2 9 system 790 21 0 0 0 115 1 system 1831 0 0 0 0 70 15 system 2147 3 0 0 0 277 119 system 1029 0 0 0 0 43 6 system 937 2 0 0 0 84 0 system 1329 0 0 0 0 63 9 system 605 3 0 0 0 35 6 system 905 0 0 0 0 40 38 system 759 2 0 0 0 73 13 [bgolliher@whatever:~] $
That's a stupid simple example, but you get the idea. Another great one is to capture latency per volume like this "stats show -i 1 -n 10 -e volume:*:latency"
That's a pretty basic method, and in my option more useful then the snmp implementation netapp puts out, and easier then trying to use perl to implement their api. But I'm not much of a perl guy so YMMV.
-Blake
On Wed, Nov 17, 2010 at 8:26 AM, Davies, Matt MDAVIES@generalatlantic.com wrote:
Hi all,
Does anyone know if there is a way to calculate the number of IOPS a
filer
is handling via SNMP or some way to script a collection ?
Thanks
Matt
Matt Davies
Director of International IT Operations
General Atlantic
23 Savile Row
London
W1S 2ET
Tel: +44 207 484 3203
Fax: +44 207 484 2803
Mobile: +44 777 559 4265
This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication
is
strictly prohibited. If you have received this communication in error, please
erase
all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.