<?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: Monitoring of Java Virtual Machines with JMX: How to clear the cache of input settings? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141907#M12311</link>
    <description>&lt;P&gt;Are you sure you are editing correct config file, because as per your logs jmx stanza is different in both the logs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stanza=jmx://Forum-EHE_EveryMinute
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stanza=jmx://Forum-EHE_Hourly
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 13 Apr 2015 14:47:19 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2015-04-13T14:47:19Z</dc:date>
    <item>
      <title>Monitoring of Java Virtual Machines with JMX: How to clear the cache of input settings?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141906#M12310</link>
      <description>&lt;P&gt;I have a JMX monitor I first deployed with a typo in the IP Address.  I updated the JMX XML Config file with the new IP, however JMX is still trying to poll the old IP.  I have done the following to try and clear the issue, however the problem still persists.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Restarted splunk&lt;/LI&gt;
&lt;LI&gt;Removed the app that configures the inputs&lt;/LI&gt;
&lt;LI&gt;Restarted splunk&lt;/LI&gt;
&lt;LI&gt;Re-deployed the app that configures the input&lt;/LI&gt;
&lt;LI&gt; Restarted splunk&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Here are the log entries from splunkd.log that lead me to realize that I had keyed in the wrong IP:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-13-2015 08:00:28.136 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" host=192.168.100.137, jmxServiceURL=, jmxport=1099, jvmDescription=EHE-FORUM-SOA-EXT-1, processID=0,stanza=jmx://Forum-EHE_EveryMinute,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.100.137; nested exception is: 
04-13-2015 08:00:28.136 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py""  java.net.ConnectException: Connection timed out: connect]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here are the log entries from splunkd.log after correcting the IP:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-13-2015 08:01:13.740 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" host=192.168.100.184, jmxServiceURL=, jmxport=1099, jvmDescription=EHE-FORUM-SOA-EXT-1, processID=0,stanza=jmx://Forum-EHE_Hourly,systemErrorMessage="Connection refused to host: 192.168.100.137; nested exception is: 
04-13-2015 08:01:13.740 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py""  java.net.ConnectException: Connection timed out: connect"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Old Host IP: 192.168.100.137&lt;BR /&gt;
New Host IP: 192.168.100.184&lt;/P&gt;

&lt;P&gt;How do I clear the residual cache  of the old IP?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 12:43:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141906#M12310</guid>
      <dc:creator>nikduvall</dc:creator>
      <dc:date>2015-04-13T12:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: How to clear the cache of input settings?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141907#M12311</link>
      <description>&lt;P&gt;Are you sure you are editing correct config file, because as per your logs jmx stanza is different in both the logs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stanza=jmx://Forum-EHE_EveryMinute
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stanza=jmx://Forum-EHE_Hourly
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141907#M12311</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-04-13T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: How to clear the cache of input settings?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141908#M12312</link>
      <description>&lt;P&gt;Good question.  I edited both at the same time.  I am getting the error on both stanzas:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;4/13/15 
11:20:50.365 AM 
04-13-2015 11:20:50.365 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" host=192.168.100.184, jmxServiceURL=, jmxport=1099, jvmDescription=EHE-FORUM-SOA-EXT-1, processID=0,stanza=jmx://Forum-EHE_EveryMinute,systemErrorMessage="Connection refused to host: 192.168.100.137; nested exception is: 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the Hourly config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!-- Hourly Polling --&amp;gt;
&amp;lt;jmxpoller&amp;gt;
    &amp;lt;formatter className="com.dtdsoftware.splunk.formatter.TokenizedMBeanNameQuotesStrippedFormatter"/&amp;gt;
    &amp;lt;cluster name="XXX" description="XXX"&amp;gt;
        &amp;lt;mbean domain="XXX" properties="XXX" dumpAllAttributes="true"/&amp;gt;
        &amp;lt;jmxserver host="192.168.100.184" jmxport="1099" lookupPath="/fsjmx" jvmDescription="EHE-FORUM-SOA-EXT-1" jmxuser="XXX" jmxpass="XXX"/&amp;gt;
        &amp;lt;jmxserver host="192.168.100.186" jmxport="1099" lookupPath="/fsjmx" jvmDescription="EHE-FORUM-SOA-EXT-2" jmxuser="XXX" jmxpass="XXX"/&amp;gt;
    &amp;lt;/cluster&amp;gt;
&amp;lt;/jmxpoller&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the EveryMinute Config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!-- Minute Polling --&amp;gt;
&amp;lt;jmxpoller&amp;gt;
    &amp;lt;formatter className="com.dtdsoftware.splunk.formatter.TokenizedMBeanNameQuotesStrippedFormatter"/&amp;gt;
    &amp;lt;cluster name="forum-prod_8x" description="PROD Forum Systems 8.x"&amp;gt;
        &amp;lt;mbean domain="XXX" properties="name=XXX"&amp;gt;
            &amp;lt;attribute name="CPU Utilization" outputname="cpuUtilization"/&amp;gt;
        &amp;lt;/mbean&amp;gt;
        &amp;lt;jmxserver host="192.168.100.184" jmxport="1099" lookupPath="/fsjmx" jvmDescription="EHE-FORUM-SOA-EXT-1" jmxuser="XXX" jmxpass="XXX"/&amp;gt;
        &amp;lt;jmxserver host="192.168.100.186" jmxport="1099" lookupPath="/fsjmx" jvmDescription="EHE-FORUM-SOA-EXT-2" jmxuser="XXX" jmxpass="XXX"/&amp;gt;
    &amp;lt;/cluster&amp;gt;
&amp;lt;/jmxpoller&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is a known good config set up as I have it deployed to 9 other Splunk servers successfully collecting both hourly and every minute data.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141908#M12312</guid>
      <dc:creator>nikduvall</dc:creator>
      <dc:date>2015-04-14T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: How to clear the cache of input settings?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141909#M12313</link>
      <description>&lt;P&gt;Eventually ran a packet capture and discovered that the IP listed in "Connection refused to host: 192.168.100.137;" actually came from the device itself.  It has two NIC's and I was trying to route traffic to it on the NIC to which the JMX was not binded because I was trying to keep the JMX traffic on the same network and not have to route it through a series of security appliances and a firewall.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:10:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-How-to-clear-the/m-p/141909#M12313</guid>
      <dc:creator>nikduvall</dc:creator>
      <dc:date>2015-04-14T12:10:09Z</dc:date>
    </item>
  </channel>
</rss>

