<?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: Capturing CPU and Memory from remote Linux machine in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52805#M587</link>
    <description>&lt;P&gt;The best thing to do would be to install a Splunk forwarder on the remote machine (i.e. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Typesofforwarders"&gt;Light or universal forwarder&lt;/A&gt;), and then have a &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/ScriptSetup"&gt;scripted input&lt;/A&gt; set up that runs a simple bash script to generate output for &lt;CODE&gt;free -mt&lt;/CODE&gt; and something like &lt;CODE&gt;mpstat&lt;/CODE&gt; or &lt;CODE&gt;top&lt;/CODE&gt;. Splunk have release an &lt;A href="http://splunk-base.splunk.com/apps/33800/splunk-for-unix-and-linux-technology-add-on"&gt;App&lt;/A&gt; and/or &lt;A href="http://splunk-base.splunk.com/apps/22314/splunk-for-unix-and-linux"&gt;add-on&lt;/A&gt; which captures this information and a lot more here.&lt;/P&gt;

&lt;P&gt;Alternatively if you absolutely can not install a forwarder, you can use &lt;A href="http://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-shell-script-on-a-remote-machine"&gt;bash scripts to run remote commands&lt;/A&gt;, this will then be set up as a scripted input on your indexer (not the best method though).&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;MHibbin&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2012 10:06:00 GMT</pubDate>
    <dc:creator>MHibbin</dc:creator>
    <dc:date>2012-09-06T10:06:00Z</dc:date>
    <item>
      <title>Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52804#M586</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We have installed splunk 4.3.3 free version.&lt;/P&gt;

&lt;P&gt;Want to monitor CPU and Memory of Linux server.What setting tobe done in inputs.conf file to monitor CPU and Memory...?&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52804#M586</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2012-09-06T09:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52805#M587</link>
      <description>&lt;P&gt;The best thing to do would be to install a Splunk forwarder on the remote machine (i.e. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Typesofforwarders"&gt;Light or universal forwarder&lt;/A&gt;), and then have a &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/ScriptSetup"&gt;scripted input&lt;/A&gt; set up that runs a simple bash script to generate output for &lt;CODE&gt;free -mt&lt;/CODE&gt; and something like &lt;CODE&gt;mpstat&lt;/CODE&gt; or &lt;CODE&gt;top&lt;/CODE&gt;. Splunk have release an &lt;A href="http://splunk-base.splunk.com/apps/33800/splunk-for-unix-and-linux-technology-add-on"&gt;App&lt;/A&gt; and/or &lt;A href="http://splunk-base.splunk.com/apps/22314/splunk-for-unix-and-linux"&gt;add-on&lt;/A&gt; which captures this information and a lot more here.&lt;/P&gt;

&lt;P&gt;Alternatively if you absolutely can not install a forwarder, you can use &lt;A href="http://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-shell-script-on-a-remote-machine"&gt;bash scripts to run remote commands&lt;/A&gt;, this will then be set up as a scripted input on your indexer (not the best method though).&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;MHibbin&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52805#M587</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-09-06T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52806#M588</link>
      <description>&lt;P&gt;I can second - the *nix app works great, although across a large number of hosts it generates quite a bit of data. We modified the scripts and intervals to reduce the amount of indexed data used by the nix app.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52806#M588</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2012-09-06T10:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52807#M589</link>
      <description>&lt;P&gt;If you use a Universal Forwarder you will have to install Python libraries as it is a small footprint distribution and does not include any of the libs.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52807#M589</guid>
      <dc:creator>whitewool</dc:creator>
      <dc:date>2012-09-06T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52808#M590</link>
      <description>&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/40348/universal-forwarder-scheduled-a-script-input"&gt;http://splunk-base.splunk.com/answers/40348/universal-forwarder-scheduled-a-script-input&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52808#M590</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-09-06T12:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing CPU and Memory from remote Linux machine</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52809#M591</link>
      <description>&lt;P&gt;depends what you want to do with the forwarder really, for example if they want the lightest solution.. they could install a universal forwarder and then have a bash script for the input, removing the requirement for python (as far as i'm aware) as it will use the systems bash shell (i.e. that's why you can't use bash scripts on Windows. I have linked the docs as in my answer as there are a few sections on what can and can't be done with each forwarder. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:35:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Capturing-CPU-and-Memory-from-remote-Linux-machine/m-p/52809#M591</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-09-06T12:35:06Z</dc:date>
    </item>
  </channel>
</rss>

