I am new to Splunk and as part of the evaluation i wanted to create a script that poled the NFS stats on one of our busiest CentOS hosts. I took the iostat.sh script that is in *nix app and tried to adapt it. Can someone point me in the right direction? THANKS!!
[Below is the script]
While not directly answering your question, take a look at http://apps.splunk.com/app/870/. This is the Add On for SoS, and includes an NFS iostat input for diagnosing Search Head Pool problems, however can probably be adapted to your needs.