<?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 Gather additional metrics with Harvest in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Gather-additional-metrics-with-Harvest/m-p/129863#M23430</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to gather additional metrics with Harvest from the object nic_common.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created new template cdot-crc.conf in directory template:&lt;/P&gt;&lt;PRE&gt;%poller =   (
        'nic_common' =&amp;gt;
                        {
                                counter_list     =&amp;gt; [ qw(node_name instance_name
                                                                        link_current_state link_duplex link_speed node_name
                                                                        rx_no_buffers rx_total_errors rx_udp_bad_cksum total_errors tx_total_errors
                                                                        ) ],
                                graphite_leaf    =&amp;gt; 'node.{node_name}.eth_port.{instance_name}',
                                plugin           =&amp;gt; 'cdot-nic-crc',
                                enabled          =&amp;gt; '1'
                        },
);&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;copied the plugin&amp;nbsp;cdot-nic-common to&amp;nbsp;cdot-nic-crc&lt;/LI&gt;&lt;LI&gt;uncommented the logger statements&lt;/LI&gt;&lt;LI&gt;added&amp;nbsp;&lt;SPAN&gt;cdot-crc.conf to the harvest-config&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;restarted harvest&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[2017-04-06 13:03:49] [NORMAL ] WORKER STARTED [Version: 1.3] [Conf: netapp-harvest.conf] [Poller: cluster50]
[2017-04-06 13:03:49] [NORMAL ] [main] Poller will monitor a [FILER] at [cluster50:443]
[2017-04-06 13:03:49] [NORMAL ] [main] Poller will use [password] authentication with username [harvest] and password [**********]
[2017-04-06 13:03:49] [NORMAL ] [main] Collection of system info from [cluster50] running [NetApp Release 9.1] successful.
[2017-04-06 13:03:49] [NORMAL ] [main] Found best-fit monitoring template (same generation and major release, minor same or less): [cdot-9.1.0.conf]
[2017-04-06 13:03:49] [NORMAL ] [main] Added and/or merged monitoring template [/opt/netapp-harvest/template/default/cdot-9.1.0.conf]
[2017-04-06 13:03:49] [NORMAL ] [main] Added and/or merged monitoring template [/opt/netapp-harvest/template/cdot-crc.conf]
[2017-04-06 13:03:50] [NORMAL ] [main] Metrics will be submitted with graphite_root [netapp.perf.DE_HH_HBB.cluster50]
[2017-04-06 13:03:50] [NORMAL ] [main] Using graphite_meta_metrics_root [netapp.poller.perf.DE_HH_HBB.cluster50]
[2017-04-06 13:03:50] [NORMAL ] [main] Startup complete.  Polling for new data every [300] seconds.&lt;/PRE&gt;&lt;P&gt;But I don't see .wsp files created in the path&amp;nbsp;/DE_HH_HBB/cluster50/node/node1/eth_port/e0a/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also no DEBUG messages in the harvest logfiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is my mistake?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:14:07 GMT</pubDate>
    <dc:creator>marcusgross</dc:creator>
    <dc:date>2025-06-04T15:14:07Z</dc:date>
    <item>
      <title>Gather additional metrics with Harvest</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Gather-additional-metrics-with-Harvest/m-p/129863#M23430</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to gather additional metrics with Harvest from the object nic_common.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created new template cdot-crc.conf in directory template:&lt;/P&gt;&lt;PRE&gt;%poller =   (
        'nic_common' =&amp;gt;
                        {
                                counter_list     =&amp;gt; [ qw(node_name instance_name
                                                                        link_current_state link_duplex link_speed node_name
                                                                        rx_no_buffers rx_total_errors rx_udp_bad_cksum total_errors tx_total_errors
                                                                        ) ],
                                graphite_leaf    =&amp;gt; 'node.{node_name}.eth_port.{instance_name}',
                                plugin           =&amp;gt; 'cdot-nic-crc',
                                enabled          =&amp;gt; '1'
                        },
);&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;copied the plugin&amp;nbsp;cdot-nic-common to&amp;nbsp;cdot-nic-crc&lt;/LI&gt;&lt;LI&gt;uncommented the logger statements&lt;/LI&gt;&lt;LI&gt;added&amp;nbsp;&lt;SPAN&gt;cdot-crc.conf to the harvest-config&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;restarted harvest&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[2017-04-06 13:03:49] [NORMAL ] WORKER STARTED [Version: 1.3] [Conf: netapp-harvest.conf] [Poller: cluster50]
[2017-04-06 13:03:49] [NORMAL ] [main] Poller will monitor a [FILER] at [cluster50:443]
[2017-04-06 13:03:49] [NORMAL ] [main] Poller will use [password] authentication with username [harvest] and password [**********]
[2017-04-06 13:03:49] [NORMAL ] [main] Collection of system info from [cluster50] running [NetApp Release 9.1] successful.
[2017-04-06 13:03:49] [NORMAL ] [main] Found best-fit monitoring template (same generation and major release, minor same or less): [cdot-9.1.0.conf]
[2017-04-06 13:03:49] [NORMAL ] [main] Added and/or merged monitoring template [/opt/netapp-harvest/template/default/cdot-9.1.0.conf]
[2017-04-06 13:03:49] [NORMAL ] [main] Added and/or merged monitoring template [/opt/netapp-harvest/template/cdot-crc.conf]
[2017-04-06 13:03:50] [NORMAL ] [main] Metrics will be submitted with graphite_root [netapp.perf.DE_HH_HBB.cluster50]
[2017-04-06 13:03:50] [NORMAL ] [main] Using graphite_meta_metrics_root [netapp.poller.perf.DE_HH_HBB.cluster50]
[2017-04-06 13:03:50] [NORMAL ] [main] Startup complete.  Polling for new data every [300] seconds.&lt;/PRE&gt;&lt;P&gt;But I don't see .wsp files created in the path&amp;nbsp;/DE_HH_HBB/cluster50/node/node1/eth_port/e0a/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also no DEBUG messages in the harvest logfiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is my mistake?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:14:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Gather-additional-metrics-with-Harvest/m-p/129863#M23430</guid>
      <dc:creator>marcusgross</dc:creator>
      <dc:date>2025-06-04T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Gather additional metrics with Harvest</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Gather-additional-metrics-with-Harvest/m-p/129871#M23433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/11404"&gt;@marcusgross&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would start your poller using netapp-manager or netapp-worker with the -v flag to enable verbose logging. &amp;nbsp;It logs a lot so you would then need to search through it (grep) for the nic_common stuff and/or new counters added to see what is happening. &amp;nbsp;Keep in mind that Harvest does not submit metrics if the calculated value is 0, so it could also be that you have 0 errors between polling intervals and thus won't see a metric submitted. &amp;nbsp;In verbose logging you will see the raw counter value and can see the computed value would be zero and is thus not sent to Graphite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&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:&amp;nbsp;&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&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;or both!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 14:05:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Gather-additional-metrics-with-Harvest/m-p/129871#M23433</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2017-04-06T14:05:40Z</dc:date>
    </item>
  </channel>
</rss>

