<?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: Splunk Add-On for Unix and Linux - UF doesn't send data from the &amp;quot;cpu_metric.sh&amp;quot; stanza in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613949#M77658</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249644"&gt;@Henri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it's also my idea!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 14:52:19 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-09-21T14:52:19Z</dc:date>
    <item>
      <title>Splunk Add-On for Unix and Linux - UF doesn't send data from the "cpu_metric.sh" stanza?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613766#M77652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the initial situation is the following: I have an all-in-one instance, that simultaneously takes on the role of the DS, and a UF that sends its data to the AiO. The required stanzas were distributed as a separate app, in addition to the Linux TA via the DS. Scripted inputs from the TA like "vmstat.sh" or "netstat.sh" can be browsed on the AiO and work so far.&lt;BR /&gt;&lt;BR /&gt;In the next step I wanted to activate the "cpu_metric.sh" stanza and proceeded like this:&lt;BR /&gt;&lt;BR /&gt;1. I created a metric index on the AiO, called "linux_metrics".&lt;BR /&gt;2. I configured the inputs.conf under the "deployment-apps" on the AiO and enabled the stanza. This config was pushed to the UF, or rather it was pulled by the UF.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Config:&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;[script:///opt/splunkforwarder/etc/apps/Splunk_TA_nix/bin/cpu_metric.sh]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;interval = 30&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;disabled = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;index = linux_metrics&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, however, no data ran into my metric index. "For fun" I tried the same procedure for other metric stanzas, which then immediately passed their data to the dedicated indexer.&lt;BR /&gt;&lt;BR /&gt;Standard solutions, like installing sysstat, have already been tried.&lt;BR /&gt;&lt;BR /&gt;Maybe one of you can think of something else. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:53:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613766#M77652</guid>
      <dc:creator>Henri</dc:creator>
      <dc:date>2022-09-21T14:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-On for Unix and Linux - UF doesn't send data from the "cpu_metric.sh" stanza</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613769#M77653</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249644"&gt;@Henri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;have you in the other index logs from&amp;nbsp;&lt;SPAN&gt;cpu_metric.sh?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;did you tried to delete (or comment) the&amp;nbsp;cpu_metric.sh stanza in inputs.conf in both local and default folder of the TA_nix App, leaving only the input of the additional Add-On?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 13:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613769#M77653</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-20T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-On for Unix and Linux - UF doesn't send data from the "cpu_metric.sh" stanza</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613946#M77657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;, thanks for your quick response!&lt;/P&gt;&lt;P&gt;I tried your solution, but unfortunately it did not solve the problem either.&lt;/P&gt;&lt;P&gt;But I wanted to dig a little depper, so I started "cpu_metric.sh" and "cpu.sh" manually to check if they both work. Since they returned the same values, in the same format, I had the idea that "cpu_metric.sh" might not return metric data at all. I then created a dedicated event indexer and specified that for the stanza. Immediately the UF sent data concerning the stanza "cpu_metric.sh" to this indexer.&lt;/P&gt;&lt;P&gt;Short summary: It seems to work fine with an event indexer and "cpu_metric.sh" apparently doesn't send metric data.&lt;/P&gt;&lt;P&gt;But thanks again for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613946#M77657</guid>
      <dc:creator>Henri</dc:creator>
      <dc:date>2022-09-21T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-On for Unix and Linux - UF doesn't send data from the "cpu_metric.sh" stanza</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613949#M77658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249644"&gt;@Henri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it's also my idea!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-for-Unix-and-Linux-UF-doesn-t-send-data-from-the/m-p/613949#M77658</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-21T14:52:19Z</dc:date>
    </item>
  </channel>
</rss>

