<?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: Exceeding Free License with NMon in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187591#M18960</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;A new version as been published with the release 1.5.25, this brings a better identification of App related nmon instances under Linux (between other things changes you've tested with the testing version of the script)&lt;/P&gt;

&lt;P&gt;This also embeds a new Alerting template that will inform you if that thing happens again (it analyses the time between nmon instances launches)&lt;/P&gt;

&lt;P&gt;Note that upgrade may temporarily generate 2 running nmon instances for a short moment as it brings new per OS version nmon binaries (if your host don't have nmon in the path and the App uses embedded binaries)&lt;BR /&gt;
You may simply stop these processes, or wait for them to end.&lt;/P&gt;

&lt;P&gt;Guilhem &lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2015 06:05:11 GMT</pubDate>
    <dc:creator>guilmxm</dc:creator>
    <dc:date>2015-05-18T06:05:11Z</dc:date>
    <item>
      <title>Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187581#M18950</link>
      <description>&lt;P&gt;I have 2 servers configured with NMon-TA that are sending data back to my free Splunk instance. Most days it doesn't send too much data (maybe 75% of my limit), but seemingly once a week it will send 150% of my limit. My Splunk instance won't let me search anymore.&lt;/P&gt;

&lt;P&gt;Sorry to be short on information, but I don't know what I should include. What kind of information do I need to look at to figure out why my nmon is sending so much data back to my server?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 15:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187581#M18950</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-13T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187582#M18951</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;

&lt;P&gt;I'm the author of the Nmon Splunk app, thank you for using it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;There is must something bad, even 75% of 500 mb per day is very high moreover fro only 2 servers, unless you have very very big servers like Solaris domain zones or big AIX partitions... what i guess you don't... that should something less than 20-30 mb a day&lt;/P&gt;

&lt;P&gt;What is the version of the App you are using ?&lt;BR /&gt;
Can you verify that is there only one nmon process running at a time on the TA ? (multiple processes would result in dupplicating data)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The following sourcetype will contain important information too:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nmon sourcetype=nmon_collect
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--&amp;gt; nmon_helper.sh execution output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nmon sourcetype=nmon_processing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--&amp;gt; nmon raw data conversion&lt;/P&gt;

&lt;P&gt;Also, you can issue some event count to understand what's going on, some search like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nmon earliest=-7d latest=now | timechart span=1d count by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--&amp;gt; will count the number of events per sourcetype, 99% of data should be in nmon_data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nmon sourcetype=nmon_data earliest=-7d latest=now | timechart span=1d useother=f limit=0 count by type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--&amp;gt; will count the number of events per perf monitor&lt;/P&gt;

&lt;P&gt;A simple perf monitor like CPU_ALL (cpu % usage, 1 event per update) should around 1 event per minute, so around 1400 events per day (there may be some gaps)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nmon_performance sourcetype=nmon_data type=CPU_ALL host=myhost | timechart count span=1d by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think your TA is generating too much data, for some reasons, probably dupplicating nmon instances ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 16:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187582#M18951</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-13T16:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187583#M18952</link>
      <description>&lt;P&gt;Thanks for your detailed answer. I'm afraid I can't search right now due to license violations. I think I'm going to have to start over with my instance or wait 30 days. When I get it working next I'll run those searches and report back. &lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 00:55:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187583#M18952</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-14T00:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187584#M18953</link>
      <description>&lt;P&gt;I have 2 servers: cleteNAS (TA-nmon) and blackwellServer (local collection). I think the issue is on the server named blackwellServer.&lt;/P&gt;

&lt;P&gt;Each server is very small (they are both mini-ITX AMD APUs with 3x2TB drives in RAID-5 and run apache/Splunk/some other stuff).&lt;/P&gt;

&lt;P&gt;I have your latest version of nmon as of today.&lt;/P&gt;

&lt;P&gt;In the logs I see that it is removing stale pid files every minute.&lt;/P&gt;

&lt;P&gt;INFO: starting nmon : /usr/bin/nmon -f -T -d 1500 -s 60 -c 120 in /opt/splunk/var/run/nmon/var/nmon_repository&lt;BR /&gt;
INFO: Removing staled pid file&lt;/P&gt;

&lt;P&gt;I also see the processes stacking up:&lt;BR /&gt;
root     17880  0.0  0.0  15432  1100 ?        S    21:55   0:00 /usr/bin/nmon -f -T -d 1500 -s 60 -c 120&lt;BR /&gt;
root     18396  0.0  0.0  15436  1100 ?        S    21:56   0:00 /usr/bin/nmon -f -T -d 1500 -s 60 -c 120&lt;BR /&gt;
root     18822  0.1  0.0  15280   964 ?        S    21:57   0:00 /usr/bin/nmon -f -T -d 1500 -s 60 -c 120&lt;/P&gt;

&lt;P&gt;The files in the nmon_repository directory that align to these still-running instances have constantly updating timestamps, which is probably causing Splunk to pull them in multiple times.&lt;/P&gt;

&lt;P&gt;Indeed, I have modified your nmon_processing search. In the past 10 minutes, here are how many records were processed by host:&lt;BR /&gt;
host    count   percent&lt;BR /&gt;
blackwellServer &lt;STRONG&gt;49&lt;/STRONG&gt;  84.482759&lt;BR /&gt;
cleteNAS    9   15.517241&lt;/P&gt;

&lt;P&gt;I am not sure why the nmon processes are stacking up and the PID file is not being created.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 02:04:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187584#M18953</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-14T02:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187585#M18954</link>
      <description>&lt;P&gt;I tried to touch the PID file, but every time that nmon starts (again, every minute), it deletes the PID file and does not replace it.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 02:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187585#M18954</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-14T02:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187586#M18955</link>
      <description>&lt;P&gt;Right, something bad is happening with nmon process identification when the nmon_helper.sh scripts runs.&lt;/P&gt;

&lt;P&gt;Can we exchange by mail ? (you can find my mail in top of the help page of the App, from the home page of the App in Splunk, the marker icon)&lt;/P&gt;

&lt;P&gt;Edit the script (nmon_helper.sh), comment out the "# set -x", and start it manually:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunkforwarder/bin/splunk cmd /opt/splunkforwarder/etc/apps/TA-nmon/bin/nmon_helper.sh
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2015 09:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187586#M18955</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-14T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187587#M18956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you give a try to this version of the script:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/guilhemmarchand/nmon-for-splunk/blob/testing/resources/TA-nmon/bin/nmon_helper.sh"&gt;https://github.com/guilhemmarchand/nmon-for-splunk/blob/testing/resources/TA-nmon/bin/nmon_helper.sh&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Replace your current version with this one (ensure it is executable), stop the UF, kill running instances and start the UF.&lt;BR /&gt;
Upon a few minutes you should only have one running nmon instance.&lt;/P&gt;

&lt;P&gt;Please let me know&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 11:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187587#M18956</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-14T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187588#M18957</link>
      <description>&lt;P&gt;This script is working. It is both adding the PID to the file and also not starting duplicate instances.&lt;/P&gt;

&lt;P&gt;One question: Previously I was not using TA-nmon on this machine. I was using the local script in the nmon app itself. Is this script somehow different from the nmon_helper.sh that comes with the non-TA app?&lt;/P&gt;

&lt;P&gt;I am going to let this run for a day and I will report back on my license usage. The script has only been running for a few minutes.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 20:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187588#M18957</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-14T20:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187589#M18958</link>
      <description>&lt;P&gt;Yes it the same, i think you add some trouble with the previous version which was preventing it from identifying nmon processes.&lt;/P&gt;

&lt;P&gt;I will release soon a new version including this update.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 07:25:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187589#M18958</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-15T07:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187590#M18959</link>
      <description>&lt;P&gt;It seems to be working just fine now. It has never used this little data before. I have used 11MB today (it is 9AM in my server location) for nmon. Vastly different from the 300-400MB it was using per day.&lt;/P&gt;

&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 12:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187590#M18959</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-15T12:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187591#M18960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;A new version as been published with the release 1.5.25, this brings a better identification of App related nmon instances under Linux (between other things changes you've tested with the testing version of the script)&lt;/P&gt;

&lt;P&gt;This also embeds a new Alerting template that will inform you if that thing happens again (it analyses the time between nmon instances launches)&lt;/P&gt;

&lt;P&gt;Note that upgrade may temporarily generate 2 running nmon instances for a short moment as it brings new per OS version nmon binaries (if your host don't have nmon in the path and the App uses embedded binaries)&lt;BR /&gt;
You may simply stop these processes, or wait for them to end.&lt;/P&gt;

&lt;P&gt;Guilhem &lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2015 06:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187591#M18960</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-18T06:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187592#M18961</link>
      <description>&lt;P&gt;Thanks very much for the quick update! I will upgrade both my Splunk app and TA app for forwarder this evening (US). &lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2015 11:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187592#M18961</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-18T11:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187593#M18962</link>
      <description>&lt;P&gt;You're welcome, feel free to informing me in case of trouble&lt;/P&gt;

&lt;P&gt;Guilhem &lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2015 17:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187593#M18962</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-05-18T17:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exceeding Free License with NMon</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187594#M18963</link>
      <description>&lt;P&gt;I have updated and everything is working without issue.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 00:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exceeding-Free-License-with-NMon/m-p/187594#M18963</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2015-05-19T00:10:54Z</dc:date>
    </item>
  </channel>
</rss>

