<?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: Collectd throwing ssl errors from one server, but not others in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502509#M61852</link>
    <description>&lt;P&gt;I'm working with my sys admin team to get the nss issue sorted, will report back once that is done and another curl is run.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 16:59:11 GMT</pubDate>
    <dc:creator>zthomas</dc:creator>
    <dc:date>2019-10-16T16:59:11Z</dc:date>
    <item>
      <title>Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502502#M61845</link>
      <description>&lt;P&gt;I have installed and configured collectd on 3 servers so far, and on 2 of them it works fine. These servers show up in the Splunk App for Infrastructure correctly; I can view all metrics as expected. The third server is throwing two errors consistently, as shown below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Oct 16 10:37:54 &amp;lt;hostname&amp;gt; collectd[13731]: plugin_read_thread: read-function of the `flush/write_splunk' plugin took 90.018 seconds, which is above its read interval (90.000 seconds). You might want to adjust the `Interval' or `ReadThreads' settings.
Oct 16 10:38:54 &amp;lt;hostname&amp;gt; collectd[13731]: write splunk plugin: curl_easy_perform failed to connect to &amp;lt;HEC VIP&amp;gt;:8088 with status 35: SSL connect error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The collectd.conf is literally copy-pasted between all three servers, and only the &lt;CODE&gt;Hostname&lt;/CODE&gt; option has been updated.&lt;/P&gt;

&lt;P&gt;The HEC VIP is a load balancer pointing to all 4 indexers in our indexer cluster, if that makes a difference.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502502#M61845</guid>
      <dc:creator>zthomas</dc:creator>
      <dc:date>2019-10-16T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502503#M61846</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Can you provide Linux distro?&lt;/LI&gt;
&lt;LI&gt;Also can you try this from the non working server? Check if you get "Success".
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Metrics/GetMetricsInOther" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Metrics/GetMetricsInOther&lt;/A&gt;
Use curl to get some fake data in. Update server, port &amp;amp; token:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;STRONG&gt;curl -k &lt;A href="https://localhost:8088/services/collector" target="_blank"&gt;https://localhost:8088/services/collector&lt;/A&gt;  -H "Authorization: Splunk b0221cd8-c4b4-465a-9a3c-273e3a75aa29"  -d '{"time": 1486683865.000,"event":"metric","source":"disk","host":"host_99","fields":{"region":"us-west-1","datacenter":"us-west-1a","rack":"63","os":"Ubuntu16.10","arch":"x64","team":"LON","service":"6","service_version":"0","service_environment":"test","path":"/dev/sda1","fstype":"ext3","_value":1099511627776,"metric_name":"total"}}'&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502503#M61846</guid>
      <dc:creator>dagarwal_splunk</dc:creator>
      <dc:date>2020-09-30T02:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502504#M61847</link>
      <description>&lt;P&gt;CentOS Linux release 7.4.1708 (Core)&lt;/P&gt;

&lt;P&gt;I would need to replace the localhost with the HEC vip and the &lt;CODE&gt;b0221cd8-c4b4-465a-9a3c-273e3a75aa291&lt;/CODE&gt; with my HEC token, no?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502504#M61847</guid>
      <dc:creator>zthomas</dc:creator>
      <dc:date>2019-10-16T16:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502505#M61848</link>
      <description>&lt;P&gt;yes... update them..&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502505#M61848</guid>
      <dc:creator>dagarwal_splunk</dc:creator>
      <dc:date>2019-10-16T16:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502506#M61849</link>
      <description>&lt;P&gt;I ran the curl command you posted (add -v) and got the below error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* About to connect() to &amp;lt;HEC VIP&amp;gt; port 8088 (#0)
*   Trying &amp;lt;HEC VIP&amp;gt;...
* Connected to &amp;lt;HEC VIP&amp;gt; (&amp;lt;HEC VIP&amp;gt;) port 8088 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -5938 (PR_END_OF_FILE_ERROR)
* Encountered end of file
* Closing connection 0
curl: (35) Encountered end of file
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This took 1m0.013s to return.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502506#M61849</guid>
      <dc:creator>zthomas</dc:creator>
      <dc:date>2019-10-16T16:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502507#M61850</link>
      <description>&lt;P&gt;It looks you need to update curl or nss?&lt;BR /&gt;
Update and try same thing again?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:42:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502507#M61850</guid>
      <dc:creator>dagarwal_splunk</dc:creator>
      <dc:date>2019-10-16T16:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502508#M61851</link>
      <description>&lt;P&gt;This curl should give you "Success" from the servers that are working for you. Try it out..&lt;BR /&gt;
I think you need to fix this nss error for collectd to work for you..&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502508#M61851</guid>
      <dc:creator>dagarwal_splunk</dc:creator>
      <dc:date>2019-10-16T16:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502509#M61852</link>
      <description>&lt;P&gt;I'm working with my sys admin team to get the nss issue sorted, will report back once that is done and another curl is run.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502509#M61852</guid>
      <dc:creator>zthomas</dc:creator>
      <dc:date>2019-10-16T16:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502510#M61853</link>
      <description>&lt;P&gt;Are you sending data to HEC over HTTP with SSL enabled in  &lt;CODE&gt;collectd.conf&lt;/CODE&gt;? If you are, disable SSL in  &lt;CODE&gt;collectd.conf&lt;/CODE&gt;. Set  &lt;CODE&gt;ssl&lt;/CODE&gt; to  &lt;CODE&gt;false&lt;/CODE&gt; in the  &lt;CODE&gt;write_splunk&lt;/CODE&gt; plug-in.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 23:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502510#M61853</guid>
      <dc:creator>bashby_splunk</dc:creator>
      <dc:date>2019-10-21T23:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502511#M61854</link>
      <description>&lt;P&gt;Check the box for Enable SSL in HEC Global settings.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7807i99F570A62DAA0CEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 19:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/502511#M61854</guid>
      <dc:creator>mpise_splunk</dc:creator>
      <dc:date>2019-11-27T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Collectd throwing ssl errors from one server, but not others</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/509572#M62511</link>
      <description>&lt;P&gt;I got here because I was getting errors from my one and only server, using collectd and Splunk App for Infrastructure.&lt;/P&gt;&lt;P&gt;The global SSL needs to be checked. If not, you will get the SSL error mentioned. Then, on the host running collectd, you need to ensule that the write_splunk stanza says "&lt;FONT face="courier new,courier"&gt;ssl true&lt;/FONT&gt;" in /etc/collectd.conf. If it says &lt;FONT face="courier new,courier"&gt;false&lt;/FONT&gt;, you'll see the following error:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;write splunk plugin: curl_easy_perform failed to connect to your_indexer_host:8088 with status 56: Failure when receiving data from the peer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;So, at this day and age (Splunk 7.3.3 with Universal Forwarder 8.0.1 on my client, and Splunk App for Infrastructure 2.1.0, ensure that the /etc/collectd.conf is correct, and that Globally, you have SSL checked (go to Settings-&amp;gt; Data, and hit the Global Settings box in the upper right hand corner)..&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Collectd-throwing-ssl-errors-from-one-server-but-not-others/m-p/509572#M62511</guid>
      <dc:creator>schwagem</dc:creator>
      <dc:date>2020-07-16T18:45:24Z</dc:date>
    </item>
  </channel>
</rss>

