<?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 SNMP metrics with collectd in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-metrics-with-collectd/m-p/440252#M76769</link>
    <description>&lt;P&gt;Following the documentation here &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.0/Metrics/GetMetricsInCollectd"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.0/Metrics/GetMetricsInCollectd&lt;/A&gt; we're trying to get SNMP data with collectd into a metrics index. &lt;/P&gt;

&lt;P&gt;The current format we're receiving is as follows (about 50% of the entire event using sourcetype snmp_ta):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"2","type":"cpu","type_instance":"softirq"},{"values":[0],"dstypes":["derive"],"dsnames":["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"2","type":"cpu","type_instance":"idle"},{"values":[98.1006747093728],"dstypes":["derive"],"dsnames":["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"3","type":"cpu","type_instance":"idle"},{"values":[16.1998630209115,3.59996956020255],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_packets","type_instance":""},{"values":[2098.28607958568,6531.45666911971],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_octets","type_instance":""},{"values":[0,0],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_errors","type_instance":""},{"values":[0,0],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_dropped","type_instance":""},{"values":[16.0999211648893,16.0999211648893],"dstypes":["derive","derive"],"dsnames":
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do you get the right format for metrics?&lt;BR /&gt;
The events don't show up in the metrics index but no error shows up either in the _internal log.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 13:59:01 GMT</pubDate>
    <dc:creator>mmoermans</dc:creator>
    <dc:date>2018-10-22T13:59:01Z</dc:date>
    <item>
      <title>SNMP metrics with collectd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-metrics-with-collectd/m-p/440252#M76769</link>
      <description>&lt;P&gt;Following the documentation here &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.0/Metrics/GetMetricsInCollectd"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.0/Metrics/GetMetricsInCollectd&lt;/A&gt; we're trying to get SNMP data with collectd into a metrics index. &lt;/P&gt;

&lt;P&gt;The current format we're receiving is as follows (about 50% of the entire event using sourcetype snmp_ta):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"2","type":"cpu","type_instance":"softirq"},{"values":[0],"dstypes":["derive"],"dsnames":["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"2","type":"cpu","type_instance":"idle"},{"values":[98.1006747093728],"dstypes":["derive"],"dsnames":["value"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"cpu","plugin_instance":"3","type":"cpu","type_instance":"idle"},{"values":[16.1998630209115,3.59996956020255],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_packets","type_instance":""},{"values":[2098.28607958568,6531.45666911971],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_octets","type_instance":""},{"values":[0,0],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_errors","type_instance":""},{"values":[0,0],"dstypes":["derive","derive"],"dsnames":["rx","tx"],"time":1540210462.641,"interval":10.000,"host":"localhost","plugin":"interface","plugin_instance":"ens192","type":"if_dropped","type_instance":""},{"values":[16.0999211648893,16.0999211648893],"dstypes":["derive","derive"],"dsnames":
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do you get the right format for metrics?&lt;BR /&gt;
The events don't show up in the metrics index but no error shows up either in the _internal log.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 13:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-metrics-with-collectd/m-p/440252#M76769</guid>
      <dc:creator>mmoermans</dc:creator>
      <dc:date>2018-10-22T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP metrics with collectd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-metrics-with-collectd/m-p/440253#M76770</link>
      <description>&lt;P&gt;Got it working by using a different collection URL and changing the sourcetype to collectd_http.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 12:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-metrics-with-collectd/m-p/440253#M76770</guid>
      <dc:creator>mmoermans</dc:creator>
      <dc:date>2018-10-29T12:18:09Z</dc:date>
    </item>
  </channel>
</rss>

