<?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 Grafana and netapp-harvest error in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162840#M28115</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the instructions in the IAG&amp;nbsp; and installed&lt;/P&gt;&lt;P&gt;Netapp harvest 1.6.1&lt;/P&gt;&lt;P&gt;Grafana 7.3.6&lt;/P&gt;&lt;P&gt;Latest Graphite and Carbon-cache from GIT.&lt;/P&gt;&lt;P&gt;Installtion worked fine up to running&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/netapp-harvest/netapp-manager -import&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;here I get the following errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"[OK ] Line [29] is Section [global]&lt;BR /&gt;[OK ] Line [30] in Section [global] has Key/Value pair [grafana_api_key]=[**********]&lt;BR /&gt;[OK ] Line [31] in Section [global] has Key/Value pair [grafana_url]=[x.y.z.a:3000]&lt;BR /&gt;[OK ] Line [37] is Section [default]&lt;BR /&gt;[OK ] Line [38] in Section [default] has Key/Value pair [graphite_server]=[x.y.z.a]&lt;BR /&gt;[OK ] Line [39] in Section [default] has Key/Value pair [username]=[netapp-harvest]&lt;BR /&gt;[OK ] Line [40] in Section [default] has Key/Value pair [password]=[**********]&lt;BR /&gt;[OK ] Line [43] in Section [default] has Key/Value pair [send_autosupport_stats]=[0]&lt;BR /&gt;[OK ] Line [68] is Section [Cluster1]&lt;BR /&gt;[OK ] Line [69] in Section [Cluster1] has Key/Value pair [hostname]=[a.b.c.d]&lt;BR /&gt;[OK ] Line [70] in Section [Cluster1] has Key/Value pair [group]=[Lab1]&lt;BR /&gt;[OK ] Line [82] is Section [Ocum]&lt;BR /&gt;[OK ] Line [83] in Section [Ocum] has Key/Value pair [hostname]=[e.f.g.h]&lt;BR /&gt;[OK ] Line [84] in Section [Ocum] has Key/Value pair [group]=[Lab2]&lt;BR /&gt;[OK ] Line [85] in Section [Ocum] has Key/Value pair [host_type]=[OCUM]&lt;BR /&gt;[OK ] Line [86] in Section [Ocum] has Key/Value pair [data_update_freq]=[900]&lt;BR /&gt;[OK ] Line [87] in Section [Ocum] has Key/Value pair [normalized_xfer]=[gb_per_sec]&lt;BR /&gt;[OK ] Will import dashboards to [x.y.z.a:3000]&lt;BR /&gt;[OK ] Dashboard directory is [/opt/netapp-harvest/grafana]&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in pattern match (m//) at /opt/netapp-harvest/netapp-manager line 145.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in gethostbyname at /opt/netapp-harvest/netapp-manager line 155.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in concatenation (.) or string at /opt/netapp-harvest/netapp-manager line 162.&lt;/STRONG&gt;&lt;BR /&gt;[ERROR ] Unable to resolve name&lt;BR /&gt;[ERROR ] Exiting due to fatal error."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Harvest is running fine, I can see the data in Grapite webapp itself, the wsp files and other data files get updated properly.&lt;/P&gt;&lt;P&gt;I don't see anything in Grafana though, the Netapp Dashboards are not there, and of cause no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone a hint what I'm missing and what the error means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:39:09 GMT</pubDate>
    <dc:creator>Johann_ohne_Land</dc:creator>
    <dc:date>2025-06-04T10:39:09Z</dc:date>
    <item>
      <title>Grafana and netapp-harvest error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162840#M28115</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the instructions in the IAG&amp;nbsp; and installed&lt;/P&gt;&lt;P&gt;Netapp harvest 1.6.1&lt;/P&gt;&lt;P&gt;Grafana 7.3.6&lt;/P&gt;&lt;P&gt;Latest Graphite and Carbon-cache from GIT.&lt;/P&gt;&lt;P&gt;Installtion worked fine up to running&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/netapp-harvest/netapp-manager -import&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;here I get the following errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"[OK ] Line [29] is Section [global]&lt;BR /&gt;[OK ] Line [30] in Section [global] has Key/Value pair [grafana_api_key]=[**********]&lt;BR /&gt;[OK ] Line [31] in Section [global] has Key/Value pair [grafana_url]=[x.y.z.a:3000]&lt;BR /&gt;[OK ] Line [37] is Section [default]&lt;BR /&gt;[OK ] Line [38] in Section [default] has Key/Value pair [graphite_server]=[x.y.z.a]&lt;BR /&gt;[OK ] Line [39] in Section [default] has Key/Value pair [username]=[netapp-harvest]&lt;BR /&gt;[OK ] Line [40] in Section [default] has Key/Value pair [password]=[**********]&lt;BR /&gt;[OK ] Line [43] in Section [default] has Key/Value pair [send_autosupport_stats]=[0]&lt;BR /&gt;[OK ] Line [68] is Section [Cluster1]&lt;BR /&gt;[OK ] Line [69] in Section [Cluster1] has Key/Value pair [hostname]=[a.b.c.d]&lt;BR /&gt;[OK ] Line [70] in Section [Cluster1] has Key/Value pair [group]=[Lab1]&lt;BR /&gt;[OK ] Line [82] is Section [Ocum]&lt;BR /&gt;[OK ] Line [83] in Section [Ocum] has Key/Value pair [hostname]=[e.f.g.h]&lt;BR /&gt;[OK ] Line [84] in Section [Ocum] has Key/Value pair [group]=[Lab2]&lt;BR /&gt;[OK ] Line [85] in Section [Ocum] has Key/Value pair [host_type]=[OCUM]&lt;BR /&gt;[OK ] Line [86] in Section [Ocum] has Key/Value pair [data_update_freq]=[900]&lt;BR /&gt;[OK ] Line [87] in Section [Ocum] has Key/Value pair [normalized_xfer]=[gb_per_sec]&lt;BR /&gt;[OK ] Will import dashboards to [x.y.z.a:3000]&lt;BR /&gt;[OK ] Dashboard directory is [/opt/netapp-harvest/grafana]&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in pattern match (m//) at /opt/netapp-harvest/netapp-manager line 145.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in gethostbyname at /opt/netapp-harvest/netapp-manager line 155.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Use of uninitialized value $addr in concatenation (.) or string at /opt/netapp-harvest/netapp-manager line 162.&lt;/STRONG&gt;&lt;BR /&gt;[ERROR ] Unable to resolve name&lt;BR /&gt;[ERROR ] Exiting due to fatal error."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Harvest is running fine, I can see the data in Grapite webapp itself, the wsp files and other data files get updated properly.&lt;/P&gt;&lt;P&gt;I don't see anything in Grafana though, the Netapp Dashboards are not there, and of cause no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone a hint what I'm missing and what the error means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:39:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162840#M28115</guid>
      <dc:creator>Johann_ohne_Land</dc:creator>
      <dc:date>2025-06-04T10:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Grafana and netapp-harvest error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162873#M28116</link>
      <description>&lt;P&gt;Quick update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I manually imported the json files to Grafana and can see all the data now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone has an idea why the netapp-manager import failed, please let me know.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 09:36:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162873#M28116</guid>
      <dc:creator>Johann_ohne_Land</dc:creator>
      <dc:date>2021-01-13T09:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Grafana and netapp-harvest error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162947#M28119</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;x.y.z.a&lt;/FONT&gt; is you replacing the server name in the logs right ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm assuming in &lt;FONT face="andale mono,times"&gt;[global]&lt;/FONT&gt; section there is an error in &lt;FONT face="andale mono,times"&gt;grafana_url&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This should be an actual URL, not just an ip address or host name (with http(s):// and all...)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:43:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162947#M28119</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2021-01-14T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Grafana and netapp-harvest error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162966#M28121</link>
      <description>&lt;P&gt;Hello x.y.z.a is a replacement for the correct IP.&lt;/P&gt;&lt;P&gt;I actually tried &lt;A href="http://x.y.z.a:3000" target="_blank"&gt;http://x.y.z.a:3000&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="http://x.y.z.a:3000" target="_blank"&gt;https://x.y.z.a:3000&lt;/A&gt; as well localhost:3000, same results.&lt;/P&gt;&lt;P&gt;Manually importing the json files worked though.&lt;/P&gt;&lt;P&gt;i will do some further checking and keep you posted.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 11:50:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162966#M28121</guid>
      <dc:creator>Johann_ohne_Land</dc:creator>
      <dc:date>2021-01-15T11:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Grafana and netapp-harvest error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162968#M28122</link>
      <description>&lt;P&gt;For reference, this is the relevant portion of code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="line"&gt;&lt;SPAN class="k"&gt;        if&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$conf&lt;/SPAN&gt;&lt;SPAN class="p"&gt;{&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;global&lt;/SPAN&gt;&lt;SPAN class="p"&gt;}{&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;grafana_url&lt;/SPAN&gt;&lt;SPAN class="p"&gt;}&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=~&lt;/SPAN&gt; &lt;SPAN class="sr"&gt;m!^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?!&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;	&lt;SPAN class="p"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="nv"&gt;$addr&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="nv"&gt;$4&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="nv"&gt;$port&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;80&lt;/SPAN&gt; &lt;SPAN class="k"&gt;if&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$2&lt;/SPAN&gt; &lt;SPAN class="ow"&gt;eq&lt;/SPAN&gt; &lt;SPAN class="p"&gt;'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;http&lt;/SPAN&gt;&lt;SPAN class="p"&gt;');&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="nv"&gt;$port&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;443&lt;/SPAN&gt; &lt;SPAN class="k"&gt;if&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$2&lt;/SPAN&gt; &lt;SPAN class="ow"&gt;eq&lt;/SPAN&gt; &lt;SPAN class="p"&gt;'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;https&lt;/SPAN&gt;&lt;SPAN class="p"&gt;');&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="k"&gt;if&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$addr&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=~&lt;/SPAN&gt; &lt;SPAN class="sr"&gt;/(.*):(\d{1,5})/&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="p"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;			&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$addr&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="nv"&gt;$port&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nv"&gt;$1&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="nv"&gt;$2&lt;/SPAN&gt;&lt;SPAN class="p"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;		&lt;SPAN class="p"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="line"&gt;	&lt;SPAN class="p"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;It looks like $addr is undefined, so the regexp matched but group $4 is empty for some reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the logs you posted it makes sense because you didn't put protocol://&lt;/P&gt;&lt;P&gt;Let's do the same thing with &lt;A href="http://grafana-ip:3000/" target="_blank" rel="noopener"&gt;http://grafana-ip:3000/&lt;/A&gt;&amp;nbsp;instead.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:18:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Grafana-and-netapp-harvest-error/m-p/162968#M28122</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2021-01-15T12:18:25Z</dc:date>
    </item>
  </channel>
</rss>

