<?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 Renaming a site or cluster in Graphite/Grafana/Harvest in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Renaming-a-site-or-cluster-in-Graphite-Grafana-Harvest/m-p/118092#M20999</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A customer of mine setup Harvest and then a few weeks later realized the site naming convention he used, which is the Group drop-down in the Grafana GUI, wasn't ideal. &amp;nbsp;He asked me how to update it and I thought to share the steps here since others may have this same need. &amp;nbsp;Also, the steps are basically the same if you want to rename a cluster, or nodes, etc;&amp;nbsp;the find command in step 5 is the important one. &amp;nbsp;Note, if you have duplicates in the site name, cluster name, or node name, do not use step 5 but instead use the output of step 4 to rename the element you want&amp;nbsp;manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Stop the pollers (or just the ones you want to rename)&lt;BR /&gt;# /opt/netapp-harvest/netapp-manager -stop&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;Edit the /opt/netapp-harvest/netapp-harvest.conf file and change the site field for the different pollers to the ones you want. &amp;nbsp;So for example change the parameter "site = reallylongname" to&amp;nbsp;"site = AMS".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;On the graphite server cd into the graphite storage directory:&lt;/P&gt;&lt;P&gt;# cd /var/lib/graphite/whisper&amp;nbsp;(or it could be /opt/graphite/storage/whisper depending on your installation paths)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;Search for your old site name as a sanity check:&lt;BR /&gt;# find . -type d -name reallylongname&lt;BR /&gt;./netapp/poller/perf7/reallylongname&lt;BR /&gt;./netapp/poller/perf/reallylongname&lt;BR /&gt;./netapp/perf7/reallylongname&lt;BR /&gt;./netapp/perf/reallylongname&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;So it looks ok, a few directories with that site were found. &amp;nbsp;Lets then do rename from &lt;SPAN&gt;reallylongname to AMS&lt;/SPAN&gt;:&lt;BR /&gt;# find . -depth -type d -name reallylongname -execdir mv {} AMS \;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Start the pollers&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# /opt/netapp-harvest/netapp-manager -start&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Open your Grafana and see that the Group drop-down includes your new AMS site name and celebrate how much better it looks!&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Chris Madden&lt;/P&gt;&lt;P&gt;Storage Architect, NetApp EMEA (and author of Harvest)&lt;/P&gt;&lt;P&gt;Blog:&amp;nbsp;&lt;A href="http://blog.pkiwi.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&amp;nbsp;&lt;STRONG&gt;ACCEPT AS SOLUTION&lt;/STRONG&gt;&amp;nbsp;or adding a&amp;nbsp;&lt;STRONG&gt;KUDO&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 21:29:29 GMT</pubDate>
    <dc:creator>madden</dc:creator>
    <dc:date>2025-06-04T21:29:29Z</dc:date>
    <item>
      <title>Renaming a site or cluster in Graphite/Grafana/Harvest</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Renaming-a-site-or-cluster-in-Graphite-Grafana-Harvest/m-p/118092#M20999</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A customer of mine setup Harvest and then a few weeks later realized the site naming convention he used, which is the Group drop-down in the Grafana GUI, wasn't ideal. &amp;nbsp;He asked me how to update it and I thought to share the steps here since others may have this same need. &amp;nbsp;Also, the steps are basically the same if you want to rename a cluster, or nodes, etc;&amp;nbsp;the find command in step 5 is the important one. &amp;nbsp;Note, if you have duplicates in the site name, cluster name, or node name, do not use step 5 but instead use the output of step 4 to rename the element you want&amp;nbsp;manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Stop the pollers (or just the ones you want to rename)&lt;BR /&gt;# /opt/netapp-harvest/netapp-manager -stop&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;Edit the /opt/netapp-harvest/netapp-harvest.conf file and change the site field for the different pollers to the ones you want. &amp;nbsp;So for example change the parameter "site = reallylongname" to&amp;nbsp;"site = AMS".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;On the graphite server cd into the graphite storage directory:&lt;/P&gt;&lt;P&gt;# cd /var/lib/graphite/whisper&amp;nbsp;(or it could be /opt/graphite/storage/whisper depending on your installation paths)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;Search for your old site name as a sanity check:&lt;BR /&gt;# find . -type d -name reallylongname&lt;BR /&gt;./netapp/poller/perf7/reallylongname&lt;BR /&gt;./netapp/poller/perf/reallylongname&lt;BR /&gt;./netapp/perf7/reallylongname&lt;BR /&gt;./netapp/perf/reallylongname&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;So it looks ok, a few directories with that site were found. &amp;nbsp;Lets then do rename from &lt;SPAN&gt;reallylongname to AMS&lt;/SPAN&gt;:&lt;BR /&gt;# find . -depth -type d -name reallylongname -execdir mv {} AMS \;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Start the pollers&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# /opt/netapp-harvest/netapp-manager -start&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Open your Grafana and see that the Group drop-down includes your new AMS site name and celebrate how much better it looks!&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Chris Madden&lt;/P&gt;&lt;P&gt;Storage Architect, NetApp EMEA (and author of Harvest)&lt;/P&gt;&lt;P&gt;Blog:&amp;nbsp;&lt;A href="http://blog.pkiwi.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&amp;nbsp;&lt;STRONG&gt;ACCEPT AS SOLUTION&lt;/STRONG&gt;&amp;nbsp;or adding a&amp;nbsp;&lt;STRONG&gt;KUDO&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:29:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Renaming-a-site-or-cluster-in-Graphite-Grafana-Harvest/m-p/118092#M20999</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2025-06-04T21:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a site or cluster in Graphite/Grafana/Harvest</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Renaming-a-site-or-cluster-in-Graphite-Grafana-Harvest/m-p/118135#M21010</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;after Chris suggestion, I want to share how it worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I would like to group many systems under a group (in this example we called it "AMS")&lt;/P&gt;&lt;P&gt;So, after creating the path on the graphite db we will move more than one system's perf under this new path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stop the pollers (or just the ones you want to rename)&lt;BR /&gt;# /opt/netapp-harvest/netapp-manager -stop -poller reallylongname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit the /opt/netapp-harvest/netapp-harvest.conf file and change the site field for the different pollers to the ones you want. So for example change the parameter "site = reallylongname" to "site = AMS".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the graphite server cd into the graphite storage directory:&lt;BR /&gt;# cd /var/lib/graphite/whisper/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make the new group path&lt;BR /&gt;# mkdir ./netapp/poller/perf7/AMS &amp;amp;&amp;amp; chown _graphite: ./netapp/poller/perf7/AMS&lt;BR /&gt;# mkdir ./netapp/perf7/AMS &amp;amp;&amp;amp; chown _graphite: ./netapp/perf7/AMS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move the directories accordingly&lt;BR /&gt;# mv ./netapp/poller/perf7/reallylongname/reallylongname ./netapp/poller/perf7/AMS/&lt;BR /&gt;# mv ./netapp/perf7/reallylongname/reallylongname ./netapp/perf7/AMS/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove empty dirs&lt;BR /&gt;# rmdir ./netapp/poller/perf7/reallylongname&lt;BR /&gt;# rmdir ./netapp/perf7/reallylongname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start the pollers&lt;BR /&gt;# /opt/netapp-harvest/netapp-manager -start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeat this procedure for any other system that have to be filed under "AMS" group&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 09:02:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Renaming-a-site-or-cluster-in-Graphite-Grafana-Harvest/m-p/118135#M21010</guid>
      <dc:creator>LORENZO_CONTI</dc:creator>
      <dc:date>2016-04-11T09:02:10Z</dc:date>
    </item>
  </channel>
</rss>

