<?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: How to monitor linux server cpu usage from a windows splunk server? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221846#M7965</link>
    <description>&lt;P&gt;Hi friscos, You'll want to check out the add-on for linux and unix, and install that on the nix forwarder &lt;A href="https://splunkbase.splunk.com/app/833/"&gt;https://splunkbase.splunk.com/app/833/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This app contains scripted inputs to collect CPU utilization, as well as other hardware performance/availability metrics.&lt;/P&gt;

&lt;P&gt;You'll potentially need to create the "os" index (default index for these inputs) or otherwise override the index config in the local inputs.conf for the app.&lt;/P&gt;

&lt;P&gt;Please let me know if this answers your question!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 15:53:56 GMT</pubDate>
    <dc:creator>muebel</dc:creator>
    <dc:date>2016-08-10T15:53:56Z</dc:date>
    <item>
      <title>How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221845#M7964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have forwarders installed on the linux servers and my splunk server is installed on windows machine. &lt;/P&gt;

&lt;P&gt;I am looking for a documentation on how to configure the splunk to monitor the CPU utilization of linux servers. &lt;/P&gt;

&lt;P&gt;I have installed Splunk App for Unix on Splunk Server but it doesn't recognize the unix servers where forwarders were installed. I am assuming that there may be a configuration to add them.&lt;/P&gt;

&lt;P&gt;Could someone help me please.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221845#M7964</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2016-08-10T15:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221846#M7965</link>
      <description>&lt;P&gt;Hi friscos, You'll want to check out the add-on for linux and unix, and install that on the nix forwarder &lt;A href="https://splunkbase.splunk.com/app/833/"&gt;https://splunkbase.splunk.com/app/833/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This app contains scripted inputs to collect CPU utilization, as well as other hardware performance/availability metrics.&lt;/P&gt;

&lt;P&gt;You'll potentially need to create the "os" index (default index for these inputs) or otherwise override the index config in the local inputs.conf for the app.&lt;/P&gt;

&lt;P&gt;Please let me know if this answers your question!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221846#M7965</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-08-10T15:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221847#M7966</link>
      <description>&lt;P&gt;Thank you very much. I installed the add-on on the splunk server and didn't know that it needs to be installed on the forwarder aswell.&lt;/P&gt;

&lt;P&gt;I found the documentation. will install it and update here.. Thanks Again.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 16:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221847#M7966</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2016-08-10T16:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221848#M7967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have installed 'Splunk App for Unix' on the Splunk Enterprise (Windows OS) and installed 'Splunk Add on for unix and linux' on the linux forwarders.&lt;BR /&gt;
Followed the document and created an inputs.conf under /apps/splunkforwarder/etc/apps/Splunk_TA_nix/local and added the below content:&lt;/P&gt;

&lt;P&gt;[script://./bin/cpu.sh]&lt;BR /&gt;
sourcetype = cpu&lt;BR /&gt;
source = cpu&lt;BR /&gt;
interval = 30&lt;BR /&gt;
index = os&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;Restarted both the forwarder and Splunk enterprise, Do not see any CPU usage on Splunk Enterprise though the host names are listed. &lt;/P&gt;

&lt;P&gt;When i try to manually enable the cpu on forwarder, i am getting the below error.&lt;/P&gt;

&lt;P&gt;[root@xxxxxxxxxxx bin]# ./setup.sh --interval cpu.sh 120&lt;BR /&gt;
./setup.sh: line 50: /bin/splunk: No such file or directory&lt;BR /&gt;
./setup.sh: line 834: /bin/splunk: No such file or directory&lt;/P&gt;

&lt;P&gt;authenticated to&lt;/P&gt;

&lt;P&gt;setting cpu.sh interval to 120&lt;BR /&gt;
./setup.sh: line 110: /bin/splunk: No such file or directory&lt;BR /&gt;
    update failed&lt;/P&gt;

&lt;P&gt;Did I miss any steps here?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:34:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221848#M7967</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2020-09-29T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221849#M7968</link>
      <description>&lt;P&gt;Hi friscos,&lt;/P&gt;

&lt;P&gt;Do you see any other logs making it from the forwarder into the indexer, in particular, at least the _internal (splunkd) type logs?&lt;/P&gt;

&lt;P&gt;Other than that, it looks like its having a problem finding dependencies when you run it manually. This could be related to some path related variables that are missing, but are set when the input normally runs as a scripted input.&lt;/P&gt;

&lt;P&gt;I'd check all the other splunk configs first (outputs to make sure any events at all are making it to the indexer)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221849#M7968</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-08-11T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221850#M7969</link>
      <description>&lt;P&gt;Yes, I configured around 10 log files on the forwarder and I see all of them in the Splunk Enterprise.&lt;/P&gt;

&lt;P&gt;You are right, SPLUNK_HOME was not set and after setting the splunk_home, I was able to enable the cpu.&lt;/P&gt;

&lt;P&gt;./setup.sh --list-all&lt;BR /&gt;
1) /apps/splunkforwarder/etc/apps/Splunk_TA_nix/bin/cpu.sh&lt;BR /&gt;
          enabled: *** disabled:     interval: 30&lt;/P&gt;

&lt;P&gt;I could perform search on the forwarder log file but do not see CPU usage on 'Splunk App for Unix'. I see the&lt;BR /&gt;
forwarder hostname listed under Group.&lt;/P&gt;

&lt;P&gt;which splunk log file that i should look for any errors?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221850#M7969</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2020-09-29T10:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221851#M7970</link>
      <description>&lt;P&gt;splunkd.log on the linux box. Is the forwarder running as root?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:16:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221851#M7970</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-08-11T17:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221852#M7971</link>
      <description>&lt;P&gt;Yes splunkd is running as a root. I see all the logs being updated in the splunk enterprise but do not see anything in 'Splunk App for Unix'.&lt;BR /&gt;
I do not see any errors in splunkd.log.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221852#M7971</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2016-08-12T20:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221853#M7972</link>
      <description>&lt;P&gt;Thanks Muebel for your response. I do not see any errors in splunkd.log. &lt;/P&gt;

&lt;P&gt;All log files are being monitored correctly on splunk enterprise but somehow do not see CPU information in 'Splunk App for Unix'.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:12:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221853#M7972</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2016-08-12T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor linux server cpu usage from a windows splunk server?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221854#M7973</link>
      <description>&lt;P&gt;Yes splunkd is running as root. I do not see any errors in splunkd but 'Splunk App for Unix' is not receiving any input in splunk enterprise.&lt;/P&gt;

&lt;P&gt;enabling apps/splunkforwarder/etc/apps/Splunk_TA_nix/bin/cpu.sh&lt;BR /&gt;
    enable successful&lt;/P&gt;

&lt;P&gt;anything else that i should look for?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-monitor-linux-server-cpu-usage-from-a-windows-splunk/m-p/221854#M7973</guid>
      <dc:creator>friscos</dc:creator>
      <dc:date>2020-09-29T10:35:59Z</dc:date>
    </item>
  </channel>
</rss>

