<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Monitor linux host NFS I/O on local mount points in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-linux-host-NFS-I-O-on-local-mount-points/m-p/106383#M22406</link>
    <description>&lt;P&gt;While not directly answering your question, take a look at &lt;CODE&gt;&lt;A href="http://apps.splunk.com/app/870/" target="test_blank"&gt;http://apps.splunk.com/app/870/&lt;/A&gt;&lt;/CODE&gt;. 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.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2013 18:08:55 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2013-10-18T18:08:55Z</dc:date>
    <item>
      <title>Monitor linux host NFS I/O on local mount points</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-linux-host-NFS-I-O-on-local-mount-points/m-p/106382#M22405</link>
      <description>&lt;P&gt;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!! &lt;BR /&gt;
[Below is the script]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;. `dirname $0`/common.sh

HEADER='Mount           rBlk_svrPS       wBlk_svrPS         opsPS         ropsPS   wopsPS'
HEADERIZE="BEGIN {print \"$HEADER\"}"
PRINTF='{printf "%-90s  %11s  %11s  %12s  %12s  %13s\n", mount, rBlk_svrPS, wBlk_svrPS, opsPS, ropsPS, wopsPS}'

    CMD='iostat -n -h'
    assertHaveCommand $CMD
    FILTER='/^$/ {next} /^Filesystem:/ {reportOrd++; next} (reportOrd&amp;lt;2) {next}'
    FORMAT='{mount=$1; rBlk_svrPS=$6; wBlk_svrPS=$7; opsPS=$8; ropsPS=$9; wopsPS=$10}'

$CMD | tee $TEE_DEST | awk "$HEADERIZE $FILTER $FORMAT $PRINTF"  header="$HEADER"
echo "Cmd = [$CMD];  | awk '$HEADERIZE $FILTER $FORMAT $PRINTF' header=\"$HEADER\"" &amp;gt;&amp;gt; $TEE_DEST
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-linux-host-NFS-I-O-on-local-mount-points/m-p/106382#M22405</guid>
      <dc:creator>peterjsouza</dc:creator>
      <dc:date>2013-10-18T17:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor linux host NFS I/O on local mount points</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-linux-host-NFS-I-O-on-local-mount-points/m-p/106383#M22406</link>
      <description>&lt;P&gt;While not directly answering your question, take a look at &lt;CODE&gt;&lt;A href="http://apps.splunk.com/app/870/" target="test_blank"&gt;http://apps.splunk.com/app/870/&lt;/A&gt;&lt;/CODE&gt;. 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.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 18:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-linux-host-NFS-I-O-on-local-mount-points/m-p/106383#M22406</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-18T18:08:55Z</dc:date>
    </item>
  </channel>
</rss>

