<?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: writing a script for CIFS  per client stats to populate that data in grafana in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/133397#M24213</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/52973"&gt;@naveens17&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this &lt;A href="https://kb.netapp.com/support/s/article/ka31A0000008hPQQAY/How-to-get-statistics-for-top-client-users-in-ONTAP-9?language=en_US" target="_self"&gt;KB &lt;/A&gt;for ONTAP 9 which say to use the top_client object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check the instances using the harvest utility:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[root@sdt-poller util]# ./perf-counters-utility -host nltl-fas2520 -user admin -pass mySecret -f top_client -in
## Connected successfully to nltl-fas2520 running 92
This command does not support the 'top_client' object and other statistically tracked objects. &lt;BR /&gt;Please use the "statistics start", "statistics stop", and "statistics show" commands.&lt;/PRE&gt;&lt;P&gt;If there is no instance list then Harvest is not going to be able to collect stats :-(.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think a script that SSH to the cluster and do a 'statistics start', sleep 1hr, 'statistics stop', and 'statistics show' and send that to Graphite would be one way to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably not the answer you were looking for but hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris Madden&lt;/P&gt;&lt;P&gt;Solution Architect - 3rd Platform - Systems Engineering NetApp EMEA (and author of Harvest)&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.beginswithdata.com/" target="_blank"&gt;It all begins with data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this post resolved your issue, please help others by selecting &lt;STRONG&gt;ACCEPT AS SOLUTION&lt;/STRONG&gt; or adding a &lt;STRONG&gt;KUDO&lt;/STRONG&gt; or both!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2017 21:34:02 GMT</pubDate>
    <dc:creator>madden</dc:creator>
    <dc:date>2017-08-04T21:34:02Z</dc:date>
    <item>
      <title>writing a script for CIFS  per client stats to populate that data in grafana</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/132655#M24081</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a script to pull the per client stats using the object as 'client' but I am unable to see any data in graphite database.. any thing wrong with my script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;##&lt;BR /&gt;%poller = (&lt;BR /&gt;##&lt;BR /&gt;## client counters&lt;BR /&gt;##&lt;/P&gt;&lt;P&gt;'client' =&amp;gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;counter_list =&amp;gt;[qw(vserver_name node_name instance_name instance_uuid process_name&lt;BR /&gt;cifs_ops cifs_read_ops cifs_read_recv_size&lt;BR /&gt;cifs_write_ops cifs_write_recv_size)],&lt;/P&gt;&lt;P&gt;graphite_leaf =&amp;gt; 'svm.{vserver_name}.{node_name}.{instance_uuid}.{instance_name}',&lt;BR /&gt;enabled =&amp;gt; '1'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:52:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/132655#M24081</guid>
      <dc:creator>naveens17</dc:creator>
      <dc:date>2025-06-04T14:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: writing a script for CIFS  per client stats to populate that data in grafana</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/132658#M24083</link>
      <description />
      <pubDate>Mon, 10 Jul 2017 16:18:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/132658#M24083</guid>
      <dc:creator>Raks</dc:creator>
      <dc:date>2017-07-10T16:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: writing a script for CIFS  per client stats to populate that data in grafana</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/133397#M24213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/52973"&gt;@naveens17&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this &lt;A href="https://kb.netapp.com/support/s/article/ka31A0000008hPQQAY/How-to-get-statistics-for-top-client-users-in-ONTAP-9?language=en_US" target="_self"&gt;KB &lt;/A&gt;for ONTAP 9 which say to use the top_client object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check the instances using the harvest utility:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[root@sdt-poller util]# ./perf-counters-utility -host nltl-fas2520 -user admin -pass mySecret -f top_client -in
## Connected successfully to nltl-fas2520 running 92
This command does not support the 'top_client' object and other statistically tracked objects. &lt;BR /&gt;Please use the "statistics start", "statistics stop", and "statistics show" commands.&lt;/PRE&gt;&lt;P&gt;If there is no instance list then Harvest is not going to be able to collect stats :-(.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think a script that SSH to the cluster and do a 'statistics start', sleep 1hr, 'statistics stop', and 'statistics show' and send that to Graphite would be one way to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably not the answer you were looking for but hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris Madden&lt;/P&gt;&lt;P&gt;Solution Architect - 3rd Platform - Systems Engineering NetApp EMEA (and author of Harvest)&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.beginswithdata.com/" target="_blank"&gt;It all begins with data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this post resolved your issue, please help others by selecting &lt;STRONG&gt;ACCEPT AS SOLUTION&lt;/STRONG&gt; or adding a &lt;STRONG&gt;KUDO&lt;/STRONG&gt; or both!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 21:34:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/writing-a-script-for-CIFS-per-client-stats-to-populate-that-data-in-grafana/m-p/133397#M24213</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2017-08-04T21:34:02Z</dc:date>
    </item>
  </channel>
</rss>

